diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-03 02:48:25 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-03 02:48:25 +0000 |
| commit | b35dae95a5cdb902f1661b9572af47c3f55c975c (patch) | |
| tree | 291fca2e8d8528216dc181ff030bdae6d42decb3 /src/screen.cc | |
| parent | 579ed5aa8d1b33a69476c2182a98ebc30557f096 (diff) | |
new mouse button code is seeming to work. you can move windows
Diffstat (limited to 'src/screen.cc')
| -rw-r--r-- | src/screen.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screen.cc b/src/screen.cc index da603ed8..0116e470 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -404,6 +404,8 @@ void OBScreen::manageWindow(Window window) clients.push_back(client); // update the root properties setClientList(); + + Openbox::instance->bindings()->grabButtons(true, client); } @@ -411,6 +413,8 @@ void OBScreen::unmanageWindow(OBClient *client) { OBFrame *frame = client->frame; + Openbox::instance->bindings()->grabButtons(false, client); + // XXX: pass around focus if this window was focused // remove from the wm's map |
