summaryrefslogtreecommitdiff
path: root/src/XGtSelect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGtSelect.c')
-rw-r--r--src/XGtSelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGtSelect.c b/src/XGtSelect.c
index 0f63caf..9f596fd 100644
--- a/src/XGtSelect.c
+++ b/src/XGtSelect.c
@@ -76,7 +76,7 @@ XGetSelectedExtensionEvents(dpy, w, this_client_count, this_client_list,
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(GetSelectedExtensionEvents, req);