From cc924e8131d4e16bb7515ea7efe4bed5e6d86fc0 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 2 Jun 2022 16:31:22 -0500 Subject: [PATCH] libweston-desktop/xwayland: Use correct geometry Looks like a copy and paste error. Signed-off-by: Derek Foreman --- libweston-desktop/xwayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston-desktop/xwayland.c b/libweston-desktop/xwayland.c index cdb65dfc..9d4d22b4 100644 --- a/libweston-desktop/xwayland.c +++ b/libweston-desktop/xwayland.c @@ -151,7 +151,7 @@ weston_desktop_xwayland_surface_committed(struct weston_desktop_surface *dsurfac if (surface->has_next_geometry) { oldgeom = weston_desktop_surface_get_geometry(surface->surface); sx -= surface->next_geometry.x - oldgeom.x; - sy -= surface->next_geometry.y - oldgeom.x; + sy -= surface->next_geometry.y - oldgeom.y; surface->has_next_geometry = false; weston_desktop_surface_set_geometry(surface->surface,