summaryrefslogtreecommitdiff
path: root/src/XIHierarchy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XIHierarchy.c')
-rw-r--r--src/XIHierarchy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIHierarchy.c b/src/XIHierarchy.c
index 9b267bf..d30ea29 100644
--- a/src/XIHierarchy.c
+++ b/src/XIHierarchy.c
@@ -49,7 +49,7 @@ XIChangeHierarchy(Display* dpy,
int dlen = 0, i;
LockDisplay(dpy);
- if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
+ if (_XiCheckExtInit(dpy, XInput_2_0, info) == -1)
return (NoSuchExtension);
GetReq(XIChangeHierarchy, req);