all repos — openbox @ 6bad7e676ad841ffce8e2a05f0d8538f149454ea

openbox fork - make it a bit more like ryudo

map the window if it was reparented, on release
Dana Jansens danakj@orodu.net
commit

6bad7e676ad841ffce8e2a05f0d8538f149454ea

parent

f2fa99b33efe9262b2c3cd7bc9c913bf6bcef2ca

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/frame.ccsrc/frame.cc

@@ -435,6 +435,8 @@ // check if the app has already reparented its window away

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