From: Dana Jansens Date: Wed, 8 Jan 2003 06:45:21 +0000 (+0000) Subject: map the window if it was reparented, on release X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6bad7e676ad841ffce8e2a05f0d8538f149454ea;hp=f2fa99b33efe9262b2c3cd7bc9c913bf6bcef2ca;p=chaz%2Fopenbox map the window if it was reparented, on release --- diff --git a/src/frame.cc b/src/frame.cc index 555f5c6e..c5b144c5 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -435,6 +435,8 @@ void OBFrame::releaseClient() if (XCheckTypedWindowEvent(otk::OBDisplay::display, _client->window(), ReparentNotify, &ev)) { XPutBackEvent(otk::OBDisplay::display, &ev); + // re-map the window since the unmanaging process unmaps it + XMapWindow(otk::OBDisplay::display, _client->window()); } else { // according to the ICCCM - if the client doesn't reparent itself, then we // will reparent the window to root for them