config: support scroll-factor

Fixes: issue #846
This commit is contained in:
Johan Malm 2023-03-25 15:57:47 +00:00 committed by Johan Malm
parent 753aef9d78
commit a8e0248f47
5 changed files with 10 additions and 1 deletions

View file

@ -1054,7 +1054,8 @@ cursor_axis(struct wl_listener *listener, void *data)
/* Notify the client with pointer focus of the axis event. */
wlr_seat_pointer_notify_axis(seat->seat, event->time_msec,
event->orientation, event->delta, event->delta_discrete,
event->orientation, rc.scroll_factor * event->delta,
round(rc.scroll_factor * event->delta_discrete),
event->source);
}
}