[PATCH] xkb fixes
Peter Hutterer
peter.hutterer at who-t.net
Fri Aug 1 00:37:08 PDT 2008
Just in case you haven't completed your daily weeping, please review the
attached patches.
The problem we have now is that xkb settings applied with XbkUseCoreKbd
only apply to the VCK, but not to the SDs. This can lead to interesting
effects, such as keyboard settings getting lost, or the keyboard switcher in
gnome not working anymore.
The attached patches simply rip the core out of the ProcXkbWhatever, move it
into a _XkbWhatever, and call the latter repeatedly. Generally, if if
ProcXkbWhatever fails on _any_ device, it reports an error to the client
before any of the devices are modified - insofar as that was possible.
The same patches can be applied to 1.5, with minimal changes.
Cheers,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xkb-ProcXkbSetMap-should-work-on-all-attached-SDs.patch
Type: text/x-diff
Size: 12890 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080801/bcc92f19/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-xkb-ProcXkbSetCompatMap-should-work-on-all-attached.patch
Type: text/x-diff
Size: 7875 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080801/bcc92f19/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-xkb-ProcXkbSetIndicatorMap-should-work-on-all-attac.patch
Type: text/x-diff
Size: 4977 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080801/bcc92f19/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-xkb-ProcXkbSetNamedIndicator-should-work-on-all-att.patch
Type: text/x-diff
Size: 9769 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080801/bcc92f19/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-xkb-ProcXkbSetNames-should-work-on-all-attached-SDs.patch
Type: text/x-diff
Size: 21809 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080801/bcc92f19/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-xkb-ProcXkbSetGeometry-should-work-on-all-attached.patch
Type: text/x-diff
Size: 4323 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080801/bcc92f19/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-xkb-ProcXkbSetDeviceInfo-should-work-on-all-attache.patch
Type: text/x-diff
Size: 4536 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080801/bcc92f19/attachment-0006.patch>
More information about the xorg
mailing list