diff options
Diffstat (limited to 'src/XSetBMap.c')
-rw-r--r-- | src/XSetBMap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XSetBMap.c b/src/XSetBMap.c index bdfe501..cad6976 100644 --- a/src/XSetBMap.c +++ b/src/XSetBMap.c @@ -75,7 +75,7 @@ XSetDeviceButtonMapping(dpy, device, map, nmap) 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(SetDeviceButtonMapping, req); req->reqType = info->codes->major_opcode; |