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
See Implementation
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