summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-07 20:06:29 +0000
committerDana Jansens <danakj@orodu.net>2003-01-07 20:06:29 +0000
commit1b13d34c1e0ef69036de51c289a83da3aaecef34 (patch)
tree4c3402e99790c95d55247e4927f4b67068957c9a /src/client.cc
parente5eb783aa22440625d497a07fa079cae93bdaa86 (diff)
i think im handling reparent events correctly now, by unmanaging the window and then XMapping the client
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.cc b/src/client.cc
index d38ca79b..9234a188 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -1269,6 +1269,12 @@ void OBClient::reparentHandler(const XReparentEvent &e)
to an already unmapped window.
*/
+ // put another copy of this event on the stack (for the frame reparent
+ // process)
+ XEvent ev;
+ ev.xreparent = e;
+ XPutBackEvent(otk::OBDisplay::display, &ev);
+
// this deletes us etc
Openbox::instance->screen(_screen)->unmanageWindow(this);
}