Go to file
Peter Hutterer ae986d1c73 xkb: fix core keyboard map generation. #14373
According to Section 12.4 of the XKB Protocol Spec, if a key only has a single
group but the keyboard has multiple groups defined, the core description of
the key is a duplication of the single group across all symbols. i.e.
G1L1 G1L2 G1L1 G1L2 G1L3 G1L4 G1L3 G1L4

The previous code generated G1L1 G1L2 G1L3 G1L4 G1L3 G1L4, leading to
"invented" groups when the process is reversed.

Note that this creates wrong key types on reconstruction from core to xkb,
i.e. any single-group key with a key type that is not one of the canonical
four (Sec 12.2.3), will get the assigned type on group 1, and a canonical type
for the other gruops.

X.Org Bug 14373 <http://bugs.freedesktop.org/show_bug.cgi?id=14373>
2008-09-26 09:33:39 +09:30
composite Switching from Automatic to Manual redirect needs to unmap/remap 2008-09-19 20:58:32 -07:00
config config: protect against potential out-of-bounds indexing. 2008-08-04 15:15:16 +09:30
damageext damage: choose less ambiguous function names 2008-08-31 17:46:26 +02:00
dbe Prepare for array-index based devPrivates. 2008-08-28 18:05:40 -04:00
dix Rename SaveSetMap() to SaveSetShouldMap(). 2008-09-23 10:22:22 -04:00
doc Default to -br. Add -retro option for the nostalgic. 2008-09-22 10:51:51 -04:00
exa exa: make sure pixmap devPrivate.ptr is NULL at create time 2008-09-26 08:59:30 +10:00
fb Prepare for array-index based devPrivates. 2008-08-28 18:05:40 -04:00
glx GLX: Make sure GLX_SGI_make_current_read is enabled when possible 2008-09-24 16:56:45 -07:00
hw Upgrade GLX Public License 1.0 to FreeB 2.0. 2008-09-22 11:26:49 -04:00
include Revert "Render: Use built-in SHA1 library" 2008-09-23 09:22:07 -07:00
mi mieq: Made custom event handlers safer for nevents >1 2008-09-21 17:33:04 -07:00
miext XQuartz: 256 color support 2008-09-12 15:26:13 -07:00
os Default to -br. Add -retro option for the nostalgic. 2008-09-22 10:51:51 -04:00
randr Fix panoramiX request and reply swapping 2008-09-21 19:19:24 +02:00
record Prepare for array-index based devPrivates. 2008-08-28 18:05:40 -04:00
render Revert "Render: Use built-in SHA1 library" 2008-09-23 09:22:07 -07:00
Xext Fix panoramiX request and reply swapping 2008-09-21 19:19:24 +02:00
xfixes Fix un-suppressing the initial cursor. 2008-09-24 10:21:35 -04:00
Xi Xi: don't include client-side headers. 2008-09-19 08:45:43 +09:30
xkb xkb: fix core keyboard map generation. #14373 2008-09-26 09:33:39 +09:30
.gitignore Add cscope files to .gitignore 2008-09-05 06:10:37 -07:00
acinclude.m4 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 2008-04-16 18:38:38 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Revert "Render: Use built-in SHA1 library" 2008-09-23 09:22:07 -07:00
COPYING Revert "Update COPYING for SHA1 code" 2008-09-23 09:21:37 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am XTrap delenda est. 2008-06-25 09:52:36 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Include pciaccess in the xorg-server.pc Requires line. 2008-04-15 14:51:51 -07:00