diff options
Diffstat (limited to 'src/XChgDCtl.c')
-rw-r--r-- | src/XChgDCtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XChgDCtl.c b/src/XChgDCtl.c index a196523..9e71475 100644 --- a/src/XChgDCtl.c +++ b/src/XChgDCtl.c @@ -74,7 +74,7 @@ XChangeDeviceControl(dpy, dev, control, d) XExtDisplayInfo *info = XInput_find_display(dpy); LockDisplay(dpy); - if (_XiCheckExtInit(dpy, XInput_Add_XChangeDeviceControl) == -1) + if (_XiCheckExtInit(dpy, XInput_Add_XChangeDeviceControl, info) == -1) return (NoSuchExtension); GetReq(ChangeDeviceControl, req); |