summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/screen.cc b/src/screen.cc
index 7e9d0ea0..61869a17 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -401,9 +401,6 @@ void OBScreen::manageWindow(Window window)
clients.push_back(client);
// update the root properties
setClientList();
-
- // grab buttons on the window
- Openbox::instance->bindings()->grabMouse(true, client);
}
@@ -411,9 +408,6 @@ void OBScreen::unmanageWindow(OBClient *client)
{
OBFrame *frame = client->frame;
- // ungrab buttons on the window
- Openbox::instance->bindings()->grabMouse(false, client);
-
// XXX: pass around focus if this window was focused
// remove from the wm's map