summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client.cc b/src/client.cc
index 9234a188..026f4f2f 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -1269,14 +1269,8 @@ 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);
+ Openbox::instance->screen(_screen)->unmanageWindow(this, true);
}
}