aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-12 10:55:20 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-12 10:55:20 -0500
commitc173d30b9203520c274f34eb72fc787aa33ca211 (patch)
tree11a1090e2e582caf1c19521596925ed14e57a6e4 /sway/commands.c
parent538903bc5ace56c1dab0f5287fb4d0bab78a0165 (diff)
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) {
return strcasecmp(a->command, b->command);
}
+// must be in order for the bsearch
static struct cmd_handler input_handlers[] = {
{ "accel_profile", input_cmd_accel_profile },
{ "click_method", input_cmd_click_method },
@@ -134,6 +135,7 @@ static struct cmd_handler input_handlers[] = {
{ "natural_scroll", input_cmd_natural_scroll },
{ "pointer_accel", input_cmd_pointer_accel },
{ "scroll_method", input_cmd_scroll_method },
+ { "seat", input_cmd_seat },
{ "tap", input_cmd_tap },
};