Go to file
Peter Hutterer be3b3cb970 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>
(cherry picked from commit ae986d1c73)
2008-10-08 11:15:13 -04:00
afb Merge branch 'master' into XACE-SELINUX 2007-11-19 18:10:46 -05:00
cfb Merge branch 'master' into XACE-SELINUX 2007-12-13 18:38:25 -05:00
cfb32 get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE 2006-07-18 18:17:38 -04:00
composite Conditionalize Composite-based backing store on pScreen->backingStoreSupport. 2008-09-17 15:48:56 -07:00
config config: protect against potential out-of-bounds indexing. 2008-08-06 10:34:35 +09:30
damageext Revert "registry: Register DAMAGE extension protocol names." 2007-11-20 17:31:00 -05:00
dbe dbe: fix DoS reported by iDefense. 2008-06-12 09:04:47 +10:00
dix Don't try to destroy a NULL pixmap. 2008-09-02 17:33:21 -04:00
doc Xserver.man: Typo (the the). 2008-09-02 17:57:34 -04:00
exa exa: disable shared pixmaps 2008-09-23 10:36:02 -04:00
fb Bug #12414: Create full-fledged pixmaps in fb24_32ReformatTile(). 2008-06-20 13:31:18 -04:00
glx only build dri2 when DRI2 is enabled 2008-09-24 14:24:36 +01:00
hw Fix strict-aliasing silliness in XAA. 2008-09-03 18:58:43 -04:00
include Make xstrcasestr prototype return value match the implementation 2008-08-06 16:12:59 -07:00
mfb Remove usage of mfbChangeWindowAttributes missed in e4d11e58c... 2008-10-06 20:10:25 -07:00
mi Fix the tile offset in miPaintWindow for ParentRelative windows. 2008-08-29 14:39:05 -04:00
miext Wrap AddTraps in exa and damage. 2008-06-30 13:50:57 -04:00
os Default X-SELinux to off. 2008-05-16 10:06:27 -04:00
randr Fix panoramiX request and reply swapping 2008-09-23 10:36:20 -04:00
record CVE-2008-1377 - RECORD and Security extensions memory corruption 2008-06-11 11:27:00 -04:00
render Don't return BadAlloc when trying to set a PictureFilter with no parameters when a filter with parameters was previously set. 2008-07-23 13:50:54 -04:00
Xext Fix panoramiX request and reply swapping 2008-09-23 10:36:20 -04:00
xfixes Normalize swapped dispatch for Fixes{ChangeSaveSet,SelectSelectionInput} 2008-02-22 15:25:26 -05:00
Xi Xi: ChangeDeviceControl presence events should set the appropriate devchange. 2008-07-29 10:16:16 +09:30
xkb xkb: fix core keyboard map generation. #14373 2008-10-08 11:15:13 -04:00
XTrap Bug #11857: Avoid running off the end of a MAXCLIENTS-sized array. 2008-06-24 14:13:30 -04:00
.gitignore gitignore: Add two more bits 2008-04-07 10:27:04 -04:00
acinclude.m4 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 2007-07-25 17:42:23 -07:00
autogen.sh Use canonical autogen.sh, which supports srcdir != objdir autogen. 2005-07-01 21:13:36 +00:00
configure.ac xserver 1.5.1 2008-09-23 14:51:33 -04:00
COPYING COPYING: Collapse 'canonical license' into one statement 2007-11-07 03:58:56 +02:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Move GL/glx on level up now that it's the only thing left under GL. 2008-06-26 16:14:52 -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 Export the server ABI versions from xorg-server.pc 2007-11-05 17:18:46 -05:00