summaryrefslogtreecommitdiff
path: root/src/XIWarpPointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XIWarpPointer.c')
-rw-r--r--src/XIWarpPointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIWarpPointer.c b/src/XIWarpPointer.c
index 038a0d3..b150915 100644
--- a/src/XIWarpPointer.c
+++ b/src/XIWarpPointer.c
@@ -54,7 +54,7 @@ XIWarpPointer(Display *dpy,
XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
- if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
+ if (_XiCheckExtInit(dpy, XInput_2_0, info) == -1)
return (NoSuchExtension);
GetReq(XIWarpPointer, req);