xkb_state_layout_index_is_active

Test whether a layout is active in a given keyboard state by index.

@returns 1 if the layout is active, 0 if it is not. If the layout index is not valid in the keymap, returns -1.

@sa xkb_layout_index_t @memberof xkb_state

extern (C)
int
xkb_state_layout_index_is_active

Meta