summaryrefslogtreecommitdiff
path: root/src/XGtFocus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGtFocus.c')
-rw-r--r--src/XGtFocus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGtFocus.c b/src/XGtFocus.c
index 08cebd9..4e63918 100644
--- a/src/XGtFocus.c
+++ b/src/XGtFocus.c
@@ -73,7 +73,7 @@ XGetDeviceFocus(dpy, dev, focus, revert_to, 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(GetDeviceFocus, req);