aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaltazár Radics <baltazar.radics@gmail.com>2022-12-09 22:22:09 +0100
committerSimon Ser <contact@emersion.fr>2022-12-09 22:36:33 +0100
commitfbf9191fb8373e6718c61586329aaf362eeaa0c0 (patch)
tree1d0fe3285f8f051568fc5298623002d702819c8c
parentefd83cb8b911d88a17263a4ee8e62cf07dbfa4bd (diff)
Fix input command order (rotation_angle)
efd83cb8 added the rotation_angle command but it didn't insert it in the proper place in the list, so the repeat_delay and repeat_rate commands became unusable.
-rw-r--r--sway/commands/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/input.c b/sway/commands/input.c
index 740124ea..3075b5f4 100644
--- a/sway/commands/input.c
+++ b/sway/commands/input.c
@@ -23,9 +23,9 @@ static const struct cmd_handler input_handlers[] = {
{ "middle_emulation", input_cmd_middle_emulation },
{ "natural_scroll", input_cmd_natural_scroll },
{ "pointer_accel", input_cmd_pointer_accel },
- { "rotation_angle", input_cmd_rotation_angle },
{ "repeat_delay", input_cmd_repeat_delay },
{ "repeat_rate", input_cmd_repeat_rate },
+ { "rotation_angle", input_cmd_rotation_angle },
{ "scroll_button", input_cmd_scroll_button },
{ "scroll_factor", input_cmd_scroll_factor },
{ "scroll_method", input_cmd_scroll_method },