[PATCH 3/3] xkb: don't treat groups with different no of symbols as identical.
Peter Hutterer
peter.hutterer at who-t.net
Mon Dec 1 22:45:24 PST 2008
From: Peter Hutterer <peter.hutterer at redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>
---
xkb/XKBMisc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c
index c0b1878..dcde470 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])
--
1.6.0.4
More information about the xorg
mailing list