summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shell.c2
1 files changed, 2 insertions, 0 deletions
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)) {