mirror of
https://github.com/brl/mutter.git
synced 2025-07-12 21:37:17 +00:00
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
@ -324,7 +324,7 @@ meta_backend_monitors_changed (MetaBackend *backend)
|
||||
|
||||
meta_backend_sync_screen_size (backend);
|
||||
|
||||
if (clutter_input_device_get_coords (device, NULL, &point))
|
||||
if (clutter_seat_query_state (seat, device, NULL, &point, NULL))
|
||||
{
|
||||
/* If we're outside all monitors, warp the pointer back inside */
|
||||
if ((!meta_monitor_manager_get_logical_monitor_at (monitor_manager,
|
||||
|
Reference in New Issue
Block a user