]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: use 'us' as fallback for XKB_DEFAULT_LAYOUT
authorJohan Malm <jgm323@gmail.com>
Mon, 11 Mar 2024 22:04:52 +0000 (22:04 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 12 Mar 2024 20:59:39 +0000 (20:59 +0000)
commit5cb3583108aad5f6084e035158cec940a3845b98
tree4571b44a33055bcb6d9c4e14bc13b69193c50ea4
parent1e1e90d0bb9e8e8521fef986fc46317d1e907284
keyboard: use 'us' as fallback for XKB_DEFAULT_LAYOUT

...if keymap cannot be created for the provided XKB_DEFAULT_LAYOUT.

If keymap still cannot be created, exit with a helpful message to avoid
crash that is hard to understand.

Fixes: https://github.com/stefonarch/lxqt-labwc-session/issues/7
src/input/keyboard.c
src/seat.c