X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.cc;h=e626081ce19e871a2fe37e25653f5f257ee69ed0;hb=40f3dfbaadef7e5b008d320ab92d47dbb63db1a9;hp=243390a84ba78bf32e74cbc519f9a6f23eba5494;hpb=8c2dfe5de45babd0fbc12b69cdfe30a54cf873a2;p=chaz%2Fopenbox diff --git a/src/client.cc b/src/client.cc index 243390a8..e626081c 100644 --- a/src/client.cc +++ b/src/client.cc @@ -1009,15 +1009,15 @@ void OBClient::destroyHandler(const XDestroyWindowEvent &e) void OBClient::reparentHandler(const XReparentEvent &e) { + // this is when the client is first taken captive in the frame + if (e.parent == frame->plate()) return; + #ifdef DEBUG printf("ReparentNotify for 0x%lx\n", e.window); #endif // DEBUG OtkEventHandler::reparentHandler(e); - // this is when the client is first taken captive in the frame - if (e.parent == frame->plate()) return; - /* This event is quite rare and is usually handled in unmapHandler. However, if the window is unmapped when the reparent event occurs,