diff options
Diffstat (limited to 'src/XIGetDevFocus.c')
-rw-r--r-- | src/XIGetDevFocus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIGetDevFocus.c b/src/XIGetDevFocus.c index 1d2a9bf..524bf39 100644 --- a/src/XIGetDevFocus.c +++ b/src/XIGetDevFocus.c @@ -38,7 +38,7 @@ XIGetFocus(Display *dpy, int deviceid, Window *focus_return) XExtDisplayInfo *extinfo = XInput_find_display(dpy); LockDisplay(dpy); - if (_XiCheckExtInit(dpy, Dont_Check, extinfo) == -1) + if (_XiCheckExtInit(dpy, XInput_2_0, extinfo) == -1) return (NoSuchExtension); GetReq(XIGetFocus, req); |