mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
cursor: cursor_rebase() on mouse scroll
...to ensure that the surface under the mouse gets the focus even if the mouse pointer has not moved. Issue #162
This commit is contained in:
parent
2652522a70
commit
8dd3dc3e3b
1 changed files with 1 additions and 0 deletions
|
|
@ -681,6 +681,7 @@ cursor_axis(struct wl_listener *listener, void *data)
|
||||||
wlr_idle_notify_activity(seat->wlr_idle, seat->seat);
|
wlr_idle_notify_activity(seat->wlr_idle, seat->seat);
|
||||||
|
|
||||||
/* Notify the client with pointer focus of the axis event. */
|
/* Notify the client with pointer focus of the axis event. */
|
||||||
|
cursor_rebase(seat, event->time_msec);
|
||||||
wlr_seat_pointer_notify_axis(seat->seat, event->time_msec,
|
wlr_seat_pointer_notify_axis(seat->seat, event->time_msec,
|
||||||
event->orientation, event->delta, event->delta_discrete,
|
event->orientation, event->delta, event->delta_discrete,
|
||||||
event->source);
|
event->source);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue