This can be a bit confusing.
Signed-off-by: Ran Benita <ran234@gmail.com>
write_buf(buf, "\t\tinterpret.useModMapMods= AnyLevel;\n");
write_buf(buf, "\t\tinterpret.repeat= False;\n");
- darray_foreach(interp, keymap->sym_interpret) {
+ darray_foreach(interp, keymap->sym_interprets) {
char keysym_name[64];
if (interp->sym == XKB_KEY_NoSymbol)
free(keymap->types[i].level_names);
}
free(keymap->types);
- darray_free(keymap->sym_interpret);
+ darray_free(keymap->sym_interprets);
darray_free(keymap->key_aliases);
darray_free(keymap->group_names);
darray_free(keymap->mods);
struct xkb_key_type *types;
unsigned int num_types;
- darray(struct xkb_sym_interpret) sym_interpret;
+ darray(struct xkb_sym_interpret) sym_interprets;
darray(struct xkb_mod) mods;
* ----------------
* After all of the xkb_compat sections have been compiled, the following
* members of struct xkb_keymap are finalized:
- * darray(struct xkb_sym_interpret) sym_interpret;
+ * darray(struct xkb_sym_interpret) sym_interprets;
* darray(struct xkb_indicator_map) indicators;
* char *compat_section_name;
* TODO: virtual modifiers.
(!needSymbol && si->interp.sym != XKB_KEY_NoSymbol))
continue;
- darray_append(info->keymap->sym_interpret, si->interp);
+ darray_append(info->keymap->sym_interprets, si->interp);
}
}
/*
* There may be multiple matchings interprets; we should always return
* the most specific. Here we rely on compat.c to set up the
- * sym_interpret array from the most specific to the least specific,
+ * sym_interprets array from the most specific to the least specific,
* such that when we find a match we return immediately.
*/
- darray_foreach(interp, keymap->sym_interpret) {
+ darray_foreach(interp, keymap->sym_interprets) {
xkb_mod_mask_t mods;
bool found;