diff options
author | ProgAndy <code@progandy.de> | 2018-07-22 21:16:19 +0200 |
---|---|---|
committer | ProgAndy <code@progandy.de> | 2018-07-25 17:24:45 +0200 |
commit | 2166dbe2e49fc5eeb345d744424db360ee63f508 (patch) | |
tree | fcb9cd6632e0e6b907ae046f94288617230a3688 /include/sway/config.h | |
parent | 6a8d1e5044086a8dce121bd1f405b342e17a1301 (diff) |
Implement setting NumLock and CapsLock status
After setting the keymap, try to enable NumLock and disable CapsLock.
This only works if sway has the xkb master state and controls the keyboard.
Prepare configuration settings for later use as well.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 4a6bb780..0f74b439 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -101,6 +101,9 @@ struct input_config { char *xkb_rules; char *xkb_variant; + int xkb_numlock; + int xkb_capslock; + struct input_config_mapped_from_region *mapped_from_region; char *mapped_to_output; |