diff options
Diffstat (limited to 'src/XGrDvBut.c')
-rw-r--r-- | src/XGrDvBut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGrDvBut.c b/src/XGrDvBut.c index fbc26ba..6e35099 100644 --- a/src/XGrDvBut.c +++ b/src/XGrDvBut.c @@ -80,7 +80,7 @@ XGrabDeviceButton(dpy, dev, button, modifiers, modifier_device, 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(GrabDeviceButton, req); |