sway

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

commit 6b97c4fa710975586a701a9491fe461499a4b6dc
parent 8d8a21c9c321fa41b033caf9b5b62cdd584483c1
Author: Kirill Primak <vyivel@eclair.cafe>
Date:   Fri, 15 Jul 2022 13:26:54 +0300

input: chase delta_discrete semantics change

Diffstat:
Msway/input/seatop_default.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c @@ -715,7 +715,7 @@ static void handle_pointer_axis(struct sway_seat *seat, seat_get_active_tiling_child(seat, tabcontainer); list_t *siblings = container_get_siblings(cont); int desired = list_find(siblings, active->sway_container) + - round(scroll_factor * event->delta_discrete); + round(scroll_factor * event->delta_discrete / WLR_POINTER_AXIS_DISCRETE_STEP); if (desired < 0) { desired = 0; } else if (desired >= siblings->length) {