summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.cc b/src/screen.cc
index 01abd83c..22d5d1be 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -387,6 +387,8 @@ void OBScreen::unmanageWindow(OBClient *client)
// XXX: pass around focus if this window was focused
+ // remove from the wm's map
+ Openbox::instance->removeClient(client->window());
// unregister for handling events
Openbox::instance->clearHandler(client->window());