clutter: Pass scroll source to discrete events

This piece of information was lost, always returning
"unknown". We can do better on the native backend.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3642>
This commit is contained in:
Carlos Garnacho
2024-03-05 12:51:30 +01:00
committed by Marge Bot
parent 3c217d2902
commit 7aebc9e63d
4 changed files with 5 additions and 0 deletions

View File

@ -990,6 +990,7 @@ notify_discrete_scroll (ClutterInputDevice *input_device,
NULL,
modifiers,
GRAPHENE_POINT_INIT (x, y),
scroll_source,
direction);
queue_event (seat_impl, event);