diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-19 18:27:24 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-26 09:33:39 +0930 |
commit | ae986d1c73d2f720bd0309d8c33328d14e8eed25 (patch) | |
tree | 22b4a92b6c3795baea8bb2d1e33d5ef252d24db1 /glx | |
parent | 5bf3f0fd4e00f96cfebd14b58580c3c8733626fb (diff) |
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>
Diffstat (limited to 'glx')
0 files changed, 0 insertions, 0 deletions