diff --git a/src/shell.c b/src/shell.c index d5b5fcf5..316cfdcc 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2451,6 +2451,8 @@ lock_surface_configure(struct weston_surface *surface, int32_t sx, int32_t sy, i if (width == 0) return; + surface->geometry.width = width; + surface->geometry.height = height; center_on_output(surface, get_default_output(shell->compositor)); if (!weston_surface_is_mapped(surface)) {