mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
clutter/input-device: Make clutter_input_device_get_actor() public
Make the clutter_input_device_get_actor() API public and remove clutter_input_device_get_pointer_actor() in favour of the new function. This allows also getting the "pointer" actor for a given touch sequence, not only for real pointer input devices like mice. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1275
This commit is contained in:
@ -621,7 +621,7 @@ repick_for_event (MetaWaylandPointer *pointer,
|
||||
if (for_event)
|
||||
actor = clutter_event_get_source (for_event);
|
||||
else
|
||||
actor = clutter_input_device_get_pointer_actor (pointer->device);
|
||||
actor = clutter_input_device_get_actor (pointer->device, NULL);
|
||||
|
||||
if (META_IS_SURFACE_ACTOR_WAYLAND (actor))
|
||||
{
|
||||
|
Reference in New Issue
Block a user