summaryrefslogtreecommitdiff
path: root/src/XCloseDev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XCloseDev.c')
-rw-r--r--src/XCloseDev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XCloseDev.c b/src/XCloseDev.c
index 71e792a..ca19860 100644
--- a/src/XCloseDev.c
+++ b/src/XCloseDev.c
@@ -69,7 +69,7 @@ XCloseDevice(dpy, dev)
XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
- if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
+ if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1)
return (NoSuchExtension);
GetReq(CloseDevice, req);