mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 15:31:28 +00:00
Chase wlroots!4003
This commit is contained in:
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…
Reference in a new issue