Chase wlroots!4003

This commit is contained in:
Kirill Primak 2024-01-22 21:24:41 +03:00 committed by Simon Ser
parent e8c421e917
commit a4e85332a1
2 changed files with 5 additions and 3 deletions

View file

@ -796,8 +796,9 @@ static void handle_pointer_axis(struct sway_seat *seat,
if (!handled) {
wlr_seat_pointer_notify_axis(cursor->seat->wlr_seat, event->time_msec,
event->orientation, scroll_factor * event->delta,
roundf(scroll_factor * event->delta_discrete), event->source);
event->orientation, scroll_factor * event->delta,
roundf(scroll_factor * event->delta_discrete), event->source,
event->relative_direction);
}
}

View file

@ -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,