summaryrefslogtreecommitdiff
path: root/src/XChgKbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XChgKbd.c')
-rw-r--r--src/XChgKbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XChgKbd.c b/src/XChgKbd.c
index feba239..1b01207 100644
--- a/src/XChgKbd.c
+++ b/src/XChgKbd.c
@@ -70,7 +70,7 @@ XChangeKeyboardDevice(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(ChangeKeyboardDevice, req);