summaryrefslogtreecommitdiff
path: root/openbox/mouse.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-04 04:47:43 +0000
committerDana Jansens <danakj@orodu.net>2007-05-04 04:47:43 +0000
commite84fb1b052584b83947715d8ae4ec5d8afd201e7 (patch)
tree609fbbbc7977aac863627ac05c2e52e817cac1b8 /openbox/mouse.c
parent31e6e12c495a343705733fa5abe8c63a1af646bf (diff)
drop the DoNotPropogate thing. metacity doesn't set it at all, and i cant tell any difference in the events generated without it.
grab mouse buttons on the client window itself for client bindings. this fixes the weird "click and drag doesnt work when the window is focused" behavior ive been seeing with kdesktop. hooray !
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 27172d52..517ed6e6 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->frame->plate;
+ win = client->window;
mode = GrabModeSync; /* this is handled in event */
mask = ButtonPressMask; /* can't catch more than this with Sync
mode the release event is