mirror of
https://github.com/swaywm/sway.git
synced 2024-12-26 15:06:34 +01:00
Chase wlroots!4003
This commit is contained in:
parent
e8c421e917
commit
a4e85332a1
2 changed files with 5 additions and 3 deletions
|
@ -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