summaryrefslogtreecommitdiff
path: root/src/XQueryDvPtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XQueryDvPtr.c')
-rw-r--r--src/XQueryDvPtr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/XQueryDvPtr.c b/src/XQueryDvPtr.c
index e4be23b..b3bfebc 100644
--- a/src/XQueryDvPtr.c
+++ b/src/XQueryDvPtr.c
@@ -31,7 +31,6 @@ in this Software without prior written authorization from The Open Group.
*/
#include <stdint.h>
-#include <X11/extensions/XI.h>
#include <X11/extensions/XI2proto.h>
#include <X11/Xlibint.h>
#include <X11/extensions/XInput2.h>
@@ -60,7 +59,7 @@ XIQueryPointer(Display *dpy,
XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
- if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1)
+ if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
return False;
GetReq(XIQueryPointer, req);