From a4e85332a1fe6b079c6da1689ca33d8ba4c71977 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Mon, 22 Jan 2024 21:24:41 +0300 Subject: Chase wlroots!4003 --- sway/input/seatop_down.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sway/input/seatop_down.c') diff --git a/sway/input/seatop_down.c b/sway/input/seatop_down.c index 36f9bb60..b4421fe6 100644 --- a/sway/input/seatop_down.c +++ b/sway/input/seatop_down.c @@ -137,7 +137,8 @@ static void handle_pointer_axis(struct sway_seat *seat, wlr_seat_pointer_notify_axis(seat->wlr_seat, event->time_msec, event->orientation, scroll_factor * event->delta, - roundf(scroll_factor * event->delta_discrete), event->source); + roundf(scroll_factor * event->delta_discrete), event->source, + event->relative_direction); } static void handle_button(struct sway_seat *seat, uint32_t time_msec, -- cgit v1.2.3