summaryrefslogtreecommitdiff
path: root/src/backends/meta-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/meta-backend.c')
-rw-r--r--src/backends/meta-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index 4d213b416..ddedfdd60 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -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,