libweston: Update view transform in seat_get_pointer

This triggers my new favourite assert sometimes when making RDP
connections, so just update the transform here.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2022-12-13 10:16:53 -06:00 committed by Daniel Stone
parent 409993639e
commit f5e9904d4a

View File

@ -2846,6 +2846,8 @@ seat_get_pointer(struct wl_client *client, struct wl_resource *resource,
wl_resource_get_client(pointer->focus->surface->resource) == client) {
wl_fixed_t sx, sy;
weston_view_update_transform(pointer->focus);
weston_view_from_global_fixed(pointer->focus,
pointer->x,
pointer->y,