aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input.c
diff options
context:
space:
mode:
authorLibravatar Baltazár Radics <baltazar.radics@gmail.com>2022-12-09 22:22:09 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2022-12-09 22:36:33 +0100
commitfbf9191fb8373e6718c61586329aaf362eeaa0c0 (patch)
tree1d0fe3285f8f051568fc5298623002d702819c8c /sway/commands/input.c
parentAdd libinput RotationAngle (diff)
downloadsway-fbf9191fb8373e6718c61586329aaf362eeaa0c0.tar.gz
sway-fbf9191fb8373e6718c61586329aaf362eeaa0c0.tar.zst
sway-fbf9191fb8373e6718c61586329aaf362eeaa0c0.zip
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.
Diffstat (limited to 'sway/commands/input.c')
-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[] = {
23 { "middle_emulation", input_cmd_middle_emulation }, 23 { "middle_emulation", input_cmd_middle_emulation },
24 { "natural_scroll", input_cmd_natural_scroll }, 24 { "natural_scroll", input_cmd_natural_scroll },
25 { "pointer_accel", input_cmd_pointer_accel }, 25 { "pointer_accel", input_cmd_pointer_accel },
26 { "rotation_angle", input_cmd_rotation_angle },
27 { "repeat_delay", input_cmd_repeat_delay }, 26 { "repeat_delay", input_cmd_repeat_delay },
28 { "repeat_rate", input_cmd_repeat_rate }, 27 { "repeat_rate", input_cmd_repeat_rate },
28 { "rotation_angle", input_cmd_rotation_angle },
29 { "scroll_button", input_cmd_scroll_button }, 29 { "scroll_button", input_cmd_scroll_button },
30 { "scroll_factor", input_cmd_scroll_factor }, 30 { "scroll_factor", input_cmd_scroll_factor },
31 { "scroll_method", input_cmd_scroll_method }, 31 { "scroll_method", input_cmd_scroll_method },