Remove unused 'groupInfo' in KeyTypeInfo
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
4ccb0ef5cc
commit
c705a82d60
|
@ -49,7 +49,6 @@ typedef struct _KeyTypeInfo {
|
||||||
unsigned file_id;
|
unsigned file_id;
|
||||||
unsigned mask;
|
unsigned mask;
|
||||||
unsigned vmask;
|
unsigned vmask;
|
||||||
bool groupInfo;
|
|
||||||
unsigned numLevels;
|
unsigned numLevels;
|
||||||
darray(struct xkb_kt_map_entry) entries;
|
darray(struct xkb_kt_map_entry) entries;
|
||||||
PreserveInfo *preserve;
|
PreserveInfo *preserve;
|
||||||
|
@ -115,7 +114,6 @@ InitKeyTypesInfo(KeyTypesInfo *info, struct xkb_keymap *keymap,
|
||||||
info->dflt.name = XKB_ATOM_NONE;
|
info->dflt.name = XKB_ATOM_NONE;
|
||||||
info->dflt.mask = 0;
|
info->dflt.mask = 0;
|
||||||
info->dflt.vmask = 0;
|
info->dflt.vmask = 0;
|
||||||
info->dflt.groupInfo = false;
|
|
||||||
info->dflt.numLevels = 1;
|
info->dflt.numLevels = 1;
|
||||||
darray_init(info->dflt.entries);
|
darray_init(info->dflt.entries);
|
||||||
darray_init(info->dflt.lvlNames);
|
darray_init(info->dflt.lvlNames);
|
||||||
|
@ -804,7 +802,6 @@ HandleKeyTypeDef(KeyTypeDef *def, struct xkb_keymap *keymap,
|
||||||
type.name = def->name;
|
type.name = def->name;
|
||||||
type.mask = info->dflt.mask;
|
type.mask = info->dflt.mask;
|
||||||
type.vmask = info->dflt.vmask;
|
type.vmask = info->dflt.vmask;
|
||||||
type.groupInfo = info->dflt.groupInfo;
|
|
||||||
type.numLevels = 1;
|
type.numLevels = 1;
|
||||||
darray_init(type.entries);
|
darray_init(type.entries);
|
||||||
darray_init(type.lvlNames);
|
darray_init(type.lvlNames);
|
||||||
|
|
Loading…
Reference in New Issue