summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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