summaryrefslogtreecommitdiff
path: root/src/XSetMode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XSetMode.c')
-rw-r--r--src/XSetMode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XSetMode.c b/src/XSetMode.c
index 278c4ff..94e2b3d 100644
--- a/src/XSetMode.c
+++ b/src/XSetMode.c
@@ -71,7 +71,7 @@ XSetDeviceMode(dpy, dev, mode)
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(SetDeviceMode, req);