summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-12-02 16:16:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2008-12-23 09:02:28 +1000
commit25aac8b5793caa92116b766d5a9e12dbecdb0290 (patch)
tree06d8688e9edd69b39cef7caa8f87440d8aa0c0c6 /xkb
parentf141c1b4bb9482f188783dd6f161d3c7960a3329 (diff)
xkb: don't treat groups with different no of symbols as identical.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'xkb')
-rw-r--r--xkb/XKBMisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c
index f32410351..078f2419c 100644
--- a/xkb/XKBMisc.c
+++ b/xkb/XKBMisc.c
@@ -242,6 +242,8 @@ BOOL replicated = FALSE;
Bool identical;
for (i=1,identical=True;identical&&(i<nGroups);i++) {
KeySym *syms;
+ if (nSyms[i] != nSyms[XkbGroup1Index])
+ identical = False;
syms= &xkb_syms_rtrn[XKB_OFFSET(i,0)];
for (s=0;identical&&(s<nSyms[i]);s++) {
if (syms[s]!=xkb_syms_rtrn[s])