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 | Merge pull request #2358 from CedricCabessa/fix-2355-move-workspace-crashes (diff) | |
parent | Fix LEDs for configured modifier states (diff) | |
download | sway-c8dc9b3b3094c9b2778309855114b9495518c2d4.tar.gz sway-c8dc9b3b3094c9b2778309855114b9495518c2d4.tar.zst sway-c8dc9b3b3094c9b2778309855114b9495518c2d4.zip |
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; | |||
213 | sway_cmd input_cmd_scroll_method; | 213 | sway_cmd input_cmd_scroll_method; |
214 | sway_cmd input_cmd_tap; | 214 | sway_cmd input_cmd_tap; |
215 | sway_cmd input_cmd_tap_button_map; | 215 | sway_cmd input_cmd_tap_button_map; |
216 | sway_cmd input_cmd_xkb_capslock; | ||
216 | sway_cmd input_cmd_xkb_layout; | 217 | sway_cmd input_cmd_xkb_layout; |
217 | sway_cmd input_cmd_xkb_model; | 218 | sway_cmd input_cmd_xkb_model; |
219 | sway_cmd input_cmd_xkb_numlock; | ||
218 | sway_cmd input_cmd_xkb_options; | 220 | sway_cmd input_cmd_xkb_options; |
219 | sway_cmd input_cmd_xkb_rules; | 221 | sway_cmd input_cmd_xkb_rules; |
220 | sway_cmd input_cmd_xkb_variant; | 222 | 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 { | |||
101 | char *xkb_rules; | 101 | char *xkb_rules; |
102 | char *xkb_variant; | 102 | char *xkb_variant; |
103 | 103 | ||
104 | int xkb_numlock; | ||
105 | int xkb_capslock; | ||
106 | |||
104 | struct input_config_mapped_from_region *mapped_from_region; | 107 | struct input_config_mapped_from_region *mapped_from_region; |
105 | char *mapped_to_output; | 108 | char *mapped_to_output; |
106 | 109 | ||