Try creating xkb_keymap early
Currently, xkb_keymap
is created at the keyboard switch. Since it's a self-contained object, it should be created at the moment the layout is parsed and loaded, to give an opportunity for fallback to other layouts to work.