We don't set this field any more.
Signed-off-by: Ran Benita <ran234@gmail.com>
for (i = 0; i < XkbNumIndicators; i++) {
struct xkb_indicator_map *map = &keymap->indicators[i];
- if (map->flags == 0 && map->which_groups == 0 &&
- map->groups == 0 && map->which_mods == 0 &&
- map->mods.mods == 0 && map->ctrls == 0)
+ if (map->which_groups == 0 && map->groups == 0 &&
+ map->which_mods == 0 && map->mods.mods == 0 &&
+ map->ctrls == 0)
continue;
write_indicator_map(keymap, buf, i);
}
};
struct xkb_indicator_map {
- unsigned char flags;
unsigned char which_groups;
uint32_t groups;
unsigned char which_mods;
enum merge_mode merge;
xkb_atom_t name;
- unsigned char flags;
unsigned char which_mods;
xkb_mod_mask_t mods;
unsigned char which_groups;
ClearIndicatorMapInfo(struct xkb_context *ctx, LEDInfo *info)
{
info->name = xkb_atom_intern(ctx, "default");
- info->flags = 0;
info->which_mods = 0;
info->mods = 0;
info->which_groups = info->groups = 0;
}
}
- im->flags = led->flags;
if (led->groups != 0 && led->which_groups == 0)
im->which_groups = XkbIM_UseEffective;
else