summaryrefslogtreecommitdiff
path: root/src/XGrDvBut.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGrDvBut.c')
-rw-r--r--src/XGrDvBut.c2
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);