diff options
Diffstat (limited to 'src/XChgKMap.c')
-rw-r--r-- | src/XChgKMap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XChgKMap.c b/src/XChgKMap.c index d0a334f..73de754 100644 --- a/src/XChgKMap.c +++ b/src/XChgKMap.c @@ -74,7 +74,7 @@ XChangeDeviceKeyMapping(dpy, dev, first, syms_per_code, keysyms, count) 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(ChangeDeviceKeyMapping, req); |