]> Dogcows Code - chaz/openbox/blobdiff - src/frame.cc
fix \'s
[chaz/openbox] / src / frame.cc
index 234991968fc25f4338cb48fe566bc60ebaf82de7..c5b144c5f3cbd4f8104389cb7529c008a77c8fef 100644 (file)
@@ -434,7 +434,9 @@ void OBFrame::releaseClient()
   // check if the app has already reparented its window away
   if (XCheckTypedWindowEvent(otk::OBDisplay::display, _client->window(),
                              ReparentNotify, &ev)) {
-    XPutBack(otk::OBDisplay::display, &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
This page took 0.020452 seconds and 4 git commands to generate.