sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit fbf9191fb8373e6718c61586329aaf362eeaa0c0
parent efd83cb8b911d88a17263a4ee8e62cf07dbfa4bd
Author: Baltazár Radics <baltazar.radics@gmail.com>
Date:   Fri,  9 Dec 2022 22:22:09 +0100

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:
Msway/commands/input.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 },