summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <RedSoxFan@users.noreply.github.com>2018-07-25 12:07:35 -0400
committerLibravatar GitHub <noreply@github.com>2018-07-25 12:07:35 -0400
commitc8dc9b3b3094c9b2778309855114b9495518c2d4 (patch)
treefbe2ecd9c36e7e1d954853f76d813ecdcd1a2e57 /include
parentMerge pull request #2358 from CedricCabessa/fix-2355-move-workspace-crashes (diff)
parentFix LEDs for configured modifier states (diff)
downloadsway-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.h2
-rw-r--r--include/sway/config.h3
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;
213sway_cmd input_cmd_scroll_method; 213sway_cmd input_cmd_scroll_method;
214sway_cmd input_cmd_tap; 214sway_cmd input_cmd_tap;
215sway_cmd input_cmd_tap_button_map; 215sway_cmd input_cmd_tap_button_map;
216sway_cmd input_cmd_xkb_capslock;
216sway_cmd input_cmd_xkb_layout; 217sway_cmd input_cmd_xkb_layout;
217sway_cmd input_cmd_xkb_model; 218sway_cmd input_cmd_xkb_model;
219sway_cmd input_cmd_xkb_numlock;
218sway_cmd input_cmd_xkb_options; 220sway_cmd input_cmd_xkb_options;
219sway_cmd input_cmd_xkb_rules; 221sway_cmd input_cmd_xkb_rules;
220sway_cmd input_cmd_xkb_variant; 222sway_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