diff options
author | 2019-05-13 23:56:59 -0400 | |
---|---|---|
committer | 2019-05-14 08:23:26 -0600 | |
commit | 23c64ab22da0067f2718b822ec1a14a8bb0a3199 (patch) | |
tree | e35980a339b14da7f6dbb38dfed66d7eaa5e5a0f /client | |
parent | Implement output toggle (diff) | |
download | sway-23c64ab22da0067f2718b822ec1a14a8bb0a3199.tar.gz sway-23c64ab22da0067f2718b822ec1a14a8bb0a3199.tar.zst sway-23c64ab22da0067f2718b822ec1a14a8bb0a3199.zip |
input/keyboard: attempt default keymap on failure
This attempts to use the default keymap when the one defined in the
input config fails to compile. The goal is to make it so the keyboard
is always in a usable state, even if it is not the user's requested
settings as usability is more important.
This also removes the calls to `getenv` for the `XKB_DEFAULT_*` family
of environment variables. The reasoning is libxkbcommon will fallback
to using those (and then the system defaults) when any of the rule
names are `NULL` or an empty string anyway so there is no need for
sway to duplicate the efforts.
Diffstat (limited to 'client')
0 files changed, 0 insertions, 0 deletions