Test whether a layout is active in a given keyboard state by name.
@returns 1 if the layout is active, 0 if it is not. If no layout with this name exists in the keymap, return -1.
If multiple layouts in the keymap have this name, the one with the lowest index is tested.
@sa xkb_layout_index_t @memberof xkb_state
See Implementation
Test whether a layout is active in a given keyboard state by name.
@returns 1 if the layout is active, 0 if it is not. If no layout with this name exists in the keymap, return -1.
If multiple layouts in the keymap have this name, the one with the lowest index is tested.
@sa xkb_layout_index_t @memberof xkb_state