mirror of
https://github.com/swaywm/sway.git
synced 2025-10-08 13:16:05 +00:00
Merge 1c12934edd
into a7d9535eb3
This commit is contained in:
commit
fbf42f6476
1 changed files with 2 additions and 0 deletions
|
@ -793,6 +793,8 @@ static void handle_pointer_axis(struct sway_seat *seat,
|
|||
free(dev_id);
|
||||
|
||||
if (!handled) {
|
||||
wlr_seat_client_notify_modifiers(cursor->seat->wlr_seat,
|
||||
cursor->seat->wlr_seat->pointer_state.focused_client);
|
||||
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue