diff options
Diffstat (limited to 'src/wayland/meta-pointer-lock-wayland.c')
-rw-r--r-- | src/wayland/meta-pointer-lock-wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland/meta-pointer-lock-wayland.c b/src/wayland/meta-pointer-lock-wayland.c index e87224732..9e0e8bcb8 100644 --- a/src/wayland/meta-pointer-lock-wayland.c +++ b/src/wayland/meta-pointer-lock-wayland.c @@ -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); |