summaryrefslogtreecommitdiff
path: root/openbox/mouse.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-28 22:30:59 +0000
committerDana Jansens <danakj@orodu.net>2007-05-28 22:30:59 +0000
commit2aa0a6b01ba718217e2b10107abbcd4236ba5a8f (patch)
tree04dee4a3dbba6bce3e4a3605013536c70d9534b0 /openbox/mouse.c
parenta1511e465550501dee66c0474d3e3867b97fd1fb (diff)
get rid of the plate window
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 850fb337..f74063ed 100644
--- a/openbox/mouse.c
+++ b/openbox/mouse.c
@@ -119,7 +119,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