summaryrefslogtreecommitdiff
path: root/src/wayland/meta-window-wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland/meta-window-wayland.c')
-rw-r--r--src/wayland/meta-window-wayland.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c
index f38e4b984..e103b50de 100644
--- a/src/wayland/meta-window-wayland.c
+++ b/src/wayland/meta-window-wayland.c
@@ -363,7 +363,9 @@ meta_window_wayland_main_monitor_changed (MetaWindow *window,
/* Window size. */
scale_rect_size (&window->rect, scale_factor);
scale_rect_size (&window->unconstrained_rect, scale_factor);
- scale_rect_size (&window->saved_rect, scale_factor);
+ scale_rect_size (&window->size_states.normal.rect, scale_factor);
+ scale_rect_size (&window->size_states.tiled.rect, scale_factor);
+ scale_rect_size (&window->size_states.maximized.rect, scale_factor);
/* Window geometry offset (XXX: Need a better place, see
* meta_window_wayland_move_resize). */