X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmouse.c;h=f74063edbbffc394bf8db31fb42dc889a4236b31;hb=2aa0a6b01ba718217e2b10107abbcd4236ba5a8f;hp=850fb337cb99e964ae9144bf3525aad97652cc6f;hpb=a1511e465550501dee66c0474d3e3867b97fd1fb;p=chaz%2Fopenbox 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