summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison@virgin.net>2009-04-17 15:14:45 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-20 16:40:34 +1000
commit6559f02ef89cb0ee365110d6a928ebd29632ad53 (patch)
treefcbd716e2befc67fc397e80db5cdfd30b190c448
parent335c63fcd6a53c1d3dffd6e00c0acd400c61e3d3 (diff)
xkb: set bell_func in InitKeyboardDeviceStruct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--xkb/xkbInit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c
index 5ac06feae..7c611bcc7 100644
--- a/xkb/xkbInit.c
+++ b/xkb/xkbInit.c
@@ -594,6 +594,7 @@ InitKeyboardDeviceStruct(DeviceIntPtr dev, XkbRMLVOSet *rmlvo,
InitFocusClassDeviceStruct(dev);
xkbi->kbdProc = ctrl_func;
+ dev->kbdfeed->BellProc = bell_func;
dev->kbdfeed->CtrlProc = XkbDDXKeybdCtrlProc;
dev->kbdfeed->ctrl = defaultKeyboardControl;