summaryrefslogtreecommitdiff
path: root/src/XUngrDev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XUngrDev.c')
-rw-r--r--src/XUngrDev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XUngrDev.c b/src/XUngrDev.c
index ecc8887..70ba03d 100644
--- a/src/XUngrDev.c
+++ b/src/XUngrDev.c
@@ -70,7 +70,7 @@ XUngrabDevice(dpy, dev, time)
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(UngrabDevice, req);