On Fri, Apr 17, 2009 at 03:14:45PM +0100, Colin Harrison wrote:
> 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.

pushed, thanks.
please submit future patches as git-formatted patches, it makes life easier
for the maintainers. See also
http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches
 
Cheers,
  Peter
_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to