aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-12 10:55:20 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-12 10:55:20 -0500
commitc173d30b9203520c274f34eb72fc787aa33ca211 (patch)
tree11a1090e2e582caf1c19521596925ed14e57a6e4 /sway/commands.c
parentconfig cleanup (diff)
downloadsway-c173d30b9203520c274f34eb72fc787aa33ca211.tar.gz
sway-c173d30b9203520c274f34eb72fc787aa33ca211.tar.zst
sway-c173d30b9203520c274f34eb72fc787aa33ca211.zip
seat configuration
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 57f76ea9..6645436a 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -123,6 +123,7 @@ static int handler_compare(const void *_a, const void *_b) {
123 return strcasecmp(a->command, b->command); 123 return strcasecmp(a->command, b->command);
124} 124}
125 125
126// must be in order for the bsearch
126static struct cmd_handler input_handlers[] = { 127static struct cmd_handler input_handlers[] = {
127 { "accel_profile", input_cmd_accel_profile }, 128 { "accel_profile", input_cmd_accel_profile },
128 { "click_method", input_cmd_click_method }, 129 { "click_method", input_cmd_click_method },
@@ -134,6 +135,7 @@ static struct cmd_handler input_handlers[] = {
134 { "natural_scroll", input_cmd_natural_scroll }, 135 { "natural_scroll", input_cmd_natural_scroll },
135 { "pointer_accel", input_cmd_pointer_accel }, 136 { "pointer_accel", input_cmd_pointer_accel },
136 { "scroll_method", input_cmd_scroll_method }, 137 { "scroll_method", input_cmd_scroll_method },
138 { "seat", input_cmd_seat },
137 { "tap", input_cmd_tap }, 139 { "tap", input_cmd_tap },
138}; 140};
139 141