diff options
Diffstat (limited to 'src/XIPassiveGrab.c')
-rw-r--r-- | src/XIPassiveGrab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XIPassiveGrab.c b/src/XIPassiveGrab.c index 98eb806..ada658f 100644 --- a/src/XIPassiveGrab.c +++ b/src/XIPassiveGrab.c @@ -45,7 +45,7 @@ _XIPassiveGrabDevice(Display* dpy, int deviceid, int grabtype, int detail, XExtDisplayInfo *extinfo = XInput_find_display(dpy); LockDisplay(dpy); - if (_XiCheckExtInit(dpy, Dont_Check, extinfo) == -1) + if (_XiCheckExtInit(dpy, XInput_2_0, extinfo) == -1) return -1; GetReq(XIPassiveGrabDevice, req); @@ -155,7 +155,7 @@ _XIPassiveUngrabDevice(Display* dpy, int deviceid, int grabtype, int detail, XExtDisplayInfo *extinfo = XInput_find_display(dpy); LockDisplay(dpy); - if (_XiCheckExtInit(dpy, Dont_Check, extinfo) == -1) + if (_XiCheckExtInit(dpy, XInput_2_0, extinfo) == -1) return -1; GetReq(XIPassiveUngrabDevice, req); |