summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/wayland_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index cecacf5215..86673b6baa 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -996,6 +996,7 @@ resize:
mp_rect_w(wl->geometry), mp_rect_h(wl->geometry));
wl->pending_vo_events |= VO_EVENT_RESIZE;
+ xdg_surface_set_window_geometry(wl->xdg_surface, 0, 0, width, height);
wl->toplevel_configured = true;
}