xkb: don't treat groups with different no of symbols as identical.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
		
							parent
							
								
									f141c1b4bb
								
							
						
					
					
						commit
						25aac8b579
					
				|  | @ -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]) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue