map the window if it was reparented, on release
This commit is contained in:
parent
f2fa99b33e
commit
6bad7e676a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue