summaryrefslogtreecommitdiff
path: root/src/XSetDVal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XSetDVal.c')
-rw-r--r--src/XSetDVal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XSetDVal.c b/src/XSetDVal.c
index 6b382f1..43702b0 100644
--- a/src/XSetDVal.c
+++ b/src/XSetDVal.c
@@ -74,7 +74,7 @@ XSetDeviceValuators(dpy, dev, valuators, first_valuator, num_valuators)
XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
- if (_XiCheckExtInit(dpy, XInput_Add_XSetDeviceValuators) == -1)
+ if (_XiCheckExtInit(dpy, XInput_Add_XSetDeviceValuators, info) == -1)
return (NoSuchExtension);
GetReq(SetDeviceValuators, req);