summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-08 06:45:21 +0000
committerDana Jansens <danakj@orodu.net>2003-01-08 06:45:21 +0000
commit6bad7e676ad841ffce8e2a05f0d8538f149454ea (patch)
treeacf83b84dd374deb30ea95f58e54596baad20fbd /src
parentf2fa99b33efe9262b2c3cd7bc9c913bf6bcef2ca (diff)
map the window if it was reparented, on release
Diffstat (limited to 'src')
-rw-r--r--src/frame.cc2
1 files changed, 2 insertions, 0 deletions
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