summaryrefslogtreecommitdiff
path: root/src/XGrDvKey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGrDvKey.c')
-rw-r--r--src/XGrDvKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGrDvKey.c b/src/XGrDvKey.c
index 6731e2c..1389753 100644
--- a/src/XGrDvKey.c
+++ b/src/XGrDvKey.c
@@ -80,7 +80,7 @@ XGrabDeviceKey(dpy, dev, key, 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(GrabDeviceKey, req);