Remove unused control num_groups
We have xkb_map_num_groups for that. Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
6c3e0811d4
commit
7d400657f5
|
@ -333,7 +333,6 @@ struct xkb_names {
|
|||
};
|
||||
|
||||
struct xkb_controls {
|
||||
unsigned char num_groups;
|
||||
/* unsigned char groups_wrap; */
|
||||
/* struct xkb_mods internal; */
|
||||
/* struct xkb_mods ignore_lock; */
|
||||
|
|
|
@ -2029,9 +2029,6 @@ CopySymbolsDef(struct xkb_keymap *keymap, KeyInfo *key, int start_from)
|
|||
keymap->server->explicit[kc] |= XkbExplicitAutoRepeatMask;
|
||||
}
|
||||
|
||||
if (nGroups > keymap->ctrls->num_groups)
|
||||
keymap->ctrls->num_groups = nGroups;
|
||||
|
||||
/* do the same thing for the next key */
|
||||
CopySymbolsDef(keymap, key, kc + 1);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue