summaryrefslogtreecommitdiff
path: root/src/XAllowDv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XAllowDv.c')
-rw-r--r--src/XAllowDv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XAllowDv.c b/src/XAllowDv.c
index 94a27ca..7fd2a07 100644
--- a/src/XAllowDv.c
+++ b/src/XAllowDv.c
@@ -71,7 +71,7 @@ XAllowDeviceEvents(dpy, dev, event_mode, 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(AllowDeviceEvents, req);