X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.cc;h=c5b144c5f3cbd4f8104389cb7529c008a77c8fef;hb=bc88d310fea71823fb2c61d071ff499579bffaba;hp=234991968fc25f4338cb48fe566bc60ebaf82de7;hpb=0147a61f89ad65755740222b69ab9e4251920a73;p=chaz%2Fopenbox diff --git a/src/frame.cc b/src/frame.cc index 23499196..c5b144c5 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -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