pub fn switch_xkb_layout(index: u32)
Switches the current XKB layout to the one at the provided index.
index
Fails if the index is out of bounds.