Remove unused control num_groups

We have xkb_map_num_groups for that.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-07-14 19:53:13 +03:00
parent 6c3e0811d4
commit 7d400657f5
2 changed files with 0 additions and 4 deletions

View File

@ -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; */

View File

@ -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;