diff options
Diffstat (limited to 'src/XSetMMap.c')
-rw-r--r-- | src/XSetMMap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XSetMMap.c b/src/XSetMMap.c index b0838f6..1077433 100644 --- a/src/XSetMMap.c +++ b/src/XSetMMap.c @@ -72,7 +72,7 @@ XSetDeviceModifierMapping(dpy, dev, modmap) 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); GetReqExtra(SetDeviceModifierMapping, mapSize, req); |