Chase wlroots!4003

master
Kirill Primak 11 months ago committed by Simon Ser
parent e8c421e917
commit a4e85332a1

@ -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);
}
}

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

Loading…
Cancel
Save