Xserver function InitKeyboardDeviceStruct() does not use bell_func?

Colin Harrison colin.harrison at virgin.net
Fri Apr 17 07:14:45 PDT 2009


Hi,

InitKeyboardDeviceStruct() does not use 'bell_func' in xserver/xkb/xkbInit.c
git master.

I found that this was needed to get my DDX's bell to ring :)

--- ./xkb/save_xkbInit.c        2009-04-17 07:41:36.000000000 +0100
+++ ./xkb/xkbInit.c     2009-04-17 15:00:12.000000000 +0100
@@ -576,6 +576,7 @@ InitKeyboardDeviceStruct(DeviceIntPtr de
     InitFocusClassDeviceStruct(dev);

     xkbi->kbdProc = ctrl_func;
+    dev->kbdfeed->BellProc = bell_func;
     dev->kbdfeed->CtrlProc = XkbDDXKeybdCtrlProc;

     dev->kbdfeed->ctrl = defaultKeyboardControl;

A useful fix, perhaps, until I know better.

Thanks,
Colin Harrison




More information about the xorg mailing list