diff options
Diffstat (limited to 'src/XGetDCtl.c')
-rw-r--r-- | src/XGetDCtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGetDCtl.c b/src/XGetDCtl.c index 9862dcc..9f258cf 100644 --- a/src/XGetDCtl.c +++ b/src/XGetDCtl.c @@ -80,7 +80,7 @@ XDeviceControl * XGetDeviceControl(dpy, dev, control) XExtDisplayInfo *info = XInput_find_display(dpy); LockDisplay(dpy); - if (_XiCheckExtInit(dpy, XInput_Add_XChangeDeviceControl) == -1) + if (_XiCheckExtInit(dpy, XInput_Add_XChangeDeviceControl, info) == -1) return ((XDeviceControl *) NoSuchExtension); GetReq(GetDeviceControl, req); |