diff options
author | Brian Ashworth <RedSoxFan@users.noreply.github.com> | 2018-07-25 12:07:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-25 12:07:35 -0400 |
commit | c8dc9b3b3094c9b2778309855114b9495518c2d4 (patch) | |
tree | fbe2ecd9c36e7e1d954853f76d813ecdcd1a2e57 /include | |
parent | 6a8d1e5044086a8dce121bd1f405b342e17a1301 (diff) | |
parent | 76ece5788bffe27b32c85968886f3738d244abf9 (diff) |
Merge pull request #2330 from progandy/set-modifier-locks
Configure initial state for numlock/capslock
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 2 | ||||
-rw-r--r-- | include/sway/config.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index f53d335a..41858ccc 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -213,8 +213,10 @@ sway_cmd input_cmd_scroll_button; sway_cmd input_cmd_scroll_method; sway_cmd input_cmd_tap; sway_cmd input_cmd_tap_button_map; +sway_cmd input_cmd_xkb_capslock; sway_cmd input_cmd_xkb_layout; sway_cmd input_cmd_xkb_model; +sway_cmd input_cmd_xkb_numlock; sway_cmd input_cmd_xkb_options; sway_cmd input_cmd_xkb_rules; sway_cmd input_cmd_xkb_variant; 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; |