clutter: Drop clutter_input_device_get_coords() method
This is not device state anymore. It uses ClutterSeat API underneath, so let callers do that instead. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:

committed by
Marge Bot

parent
efc1592d4d
commit
c6849a66e8
@@ -63,7 +63,7 @@ meta_pointer_lock_wayland_create_constraint (MetaPointerConfinementWayland *conf
|
||||
cairo_region_t *region;
|
||||
float sx, sy, x, y;
|
||||
|
||||
clutter_input_device_get_coords (pointer, NULL, &point);
|
||||
clutter_seat_query_state (seat, pointer, NULL, &point, NULL);
|
||||
wayland_constraint =
|
||||
meta_pointer_confinement_wayland_get_wayland_pointer_constraint (confinement);
|
||||
surface = meta_wayland_pointer_constraint_get_surface (wayland_constraint);
|
||||
|
Reference in New Issue
Block a user