mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 02:47:46 +03:00
Merge 1c12934edd
into ab455bbada
This commit is contained in:
commit
19416e83cf
1 changed files with 2 additions and 0 deletions
|
@ -792,6 +792,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