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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c
index b10335913..8e1be30aa 100644
--- a/src/wayland/meta-window-wayland.c
+++ b/src/wayland/meta-window-wayland.c
@@ -361,6 +361,7 @@ 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);
/* Window geometry offset (XXX: Need a better place, see
* meta_window_wayland_move_resize). */