summaryrefslogtreecommitdiff
path: root/openbox/mouse.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-04 07:21:22 +0000
committerDana Jansens <danakj@orodu.net>2007-05-04 07:21:22 +0000
commitb5161f803267be7778dd893de55d2f71c808d719 (patch)
tree7d6fa882b9d3e74dde7d7a2dec1a34e1f8874e6f /openbox/mouse.c
parenta823e4786e8c0b5ec1940f7a6daaf4572f7d452a (diff)
revert r6029, as it didnt fix anything.
however this patch does fix the aforementioned problem. actions need some reworking... yeah... later...
Diffstat (limited to 'openbox/mouse.c')
-rw-r--r--openbox/mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c
index 517ed6e6..27172d52 100644
--- a/openbox/mouse.c
+++ b/openbox/mouse.c
@@ -108,7 +108,7 @@ void mouse_grab_for_client(ObClient *client, gboolean grab)
mode = GrabModeAsync;
mask = ButtonPressMask | ButtonMotionMask | ButtonReleaseMask;
} else if (CLIENT_CONTEXT(i, client)) {
- win = client->window;
+ win = client->frame->plate;
mode = GrabModeSync; /* this is handled in event */
mask = ButtonPressMask; /* can't catch more than this with Sync
mode the release event is