From fbf9191fb8373e6718c61586329aaf362eeaa0c0 Mon Sep 17 00:00:00 2001 From: Baltazár Radics Date: Fri, 9 Dec 2022 22:22:09 +0100 Subject: 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. --- sway/commands/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway') 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 }, -- cgit v1.2.3