xkb_level_index_t width, level;
/* If we've been told not to bind interps to this key, then don't. */
- if (key->explicit & XkbExplicitInterpretMask)
+ if (key->explicit & EXPLICIT_INTERP)
return true;
for (group = 0; group < key->num_groups; group++) {
/* Infer default key behaviours from the base level. */
if (group == 0 && level == 0) {
- if (!(key->explicit & XkbExplicitAutoRepeatMask) &&
+ if (!(key->explicit & EXPLICIT_REPEAT) &&
(!interp || interp->repeat))
key->repeats = true;
}
}
}
- if (!(key->explicit & XkbExplicitVModMapMask))
+ if (!(key->explicit & EXPLICIT_VMODMAP))
key->vmodmap = vmodmask;
return true;