mirror of
https://github.com/swaywm/sway.git
synced 2026-06-13 14:33:19 -04:00
Merge 1c12934edd into 9c663b1fa1
This commit is contained in:
commit
04dd1bc5e8
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
Add a link
Reference in a new issue