diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-08 14:44:10 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-08 14:44:10 +1000 |
commit | 477f922fb07eea629f16c55b0a022e836ede6d41 (patch) | |
tree | 10d9f10ca086e6a7a3f0a62d512ccf352c8f4615 /src | |
parent | f0a352412920d9989323c7d33ca75c3646ee3f35 (diff) |
Don't discard extra data for passive grabs.
Failed modifier data was discarded, causing assertions inside xcb.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/XIPassiveGrab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIPassiveGrab.c b/src/XIPassiveGrab.c index ada658f..feef74b 100644 --- a/src/XIPassiveGrab.c +++ b/src/XIPassiveGrab.c @@ -73,7 +73,7 @@ _XIPassiveGrabDevice(Display* dpy, int deviceid, int grabtype, int detail, free(buff); - if (!_XReply(dpy, (xReply *)&reply, 0, xTrue)) + if (!_XReply(dpy, (xReply *)&reply, 0, xFalse)) { UnlockDisplay(dpy); SyncHandle(); |