summaryrefslogtreecommitdiff
path: root/src/XUngrDvK.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XUngrDvK.c')
-rw-r--r--src/XUngrDvK.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XUngrDvK.c b/src/XUngrDvK.c
index e9e4cdf..0ae3178 100644
--- a/src/XUngrDvK.c
+++ b/src/XUngrDvK.c
@@ -73,7 +73,7 @@ XUngrabDeviceKey(dpy, dev, key, modifiers, modifier_dev, grab_window)
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(UngrabDeviceKey, req);