The counterpart to xkb_state_update_mask for modifiers, to be used on
the server side of serialization.
@param state The keyboard state.
@param components A mask of the modifier state components to serialize.
State components other than XKB_STATE_MODS_* are ignored.
If XKB_STATE_MODS_EFFECTIVE is included, all other state components are
ignored.
@returns A xkb_mod_mask_t representing the given components of the
modifier state.
This function should not be used in regular clients; please use the
xkb_state_mod_*_is_active API instead.
The counterpart to xkb_state_update_mask for modifiers, to be used on the server side of serialization.
@param state The keyboard state. @param components A mask of the modifier state components to serialize. State components other than XKB_STATE_MODS_* are ignored. If XKB_STATE_MODS_EFFECTIVE is included, all other state components are ignored.
@returns A xkb_mod_mask_t representing the given components of the modifier state.
This function should not be used in regular clients; please use the xkb_state_mod_*_is_active API instead.
@memberof xkb_state