backends/native: Set the tool for relative events
Otherwise a tablet in relative mode will never have a tool set and nothing happens on motion events - meta_wayland_tablet_seat_update() simply exits early for tablet proximity, button or motion events. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3410>
This commit is contained in:
parent
baafec089a
commit
9e781545aa
@ -627,7 +627,7 @@ meta_seat_impl_notify_relative_motion_in_impl (MetaSeatImpl *seat_impl,
|
||||
clutter_event_motion_new (CLUTTER_EVENT_FLAG_RELATIVE_MOTION,
|
||||
time_us,
|
||||
input_device,
|
||||
NULL,
|
||||
device_native->last_tool,
|
||||
modifiers,
|
||||
GRAPHENE_POINT_INIT (x, y),
|
||||
GRAPHENE_POINT_INIT (dx, dy),
|
||||
|
Loading…
Reference in New Issue
Block a user