summaryrefslogtreecommitdiff
path: root/src/XDevBell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XDevBell.c')
-rw-r--r--src/XDevBell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XDevBell.c b/src/XDevBell.c
index 276a1b8..73f2e35 100644
--- a/src/XDevBell.c
+++ b/src/XDevBell.c
@@ -71,7 +71,7 @@ XDeviceBell(dpy, dev, feedbackclass, feedbackid, percent)
XExtDisplayInfo *info = XInput_find_display(dpy);
LockDisplay(dpy);
- if (_XiCheckExtInit(dpy, XInput_Add_XDeviceBell) == -1)
+ if (_XiCheckExtInit(dpy, XInput_Add_XDeviceBell, info) == -1)
return (NoSuchExtension);
GetReq(DeviceBell, req);