diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index e04acc13ff..76cc387cf7 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -141,6 +141,9 @@ static void ssurface_handle_configure(void *data, int32_t height) { struct vo_wayland_state *wl = data; + float win_aspect = wl->window.aspect; + if (!wl->window.is_fullscreen) + width = win_aspect * height; schedule_resize(wl, edges, width, height); }