map the window if it was reparented, on release

This commit is contained in:
Dana Jansens 2003-01-08 06:45:21 +00:00
parent f2fa99b33e
commit 6bad7e676a

View file

@ -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