summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
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);
}