diff options
Diffstat (limited to 'src/XIPassiveGrab.c')
-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 8953013..98eb806 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, xTrue)) { UnlockDisplay(dpy); SyncHandle(); |