summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/wayland_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 1fd5ad85df..6810069d4f 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -1793,8 +1793,7 @@ int vo_wayland_reconfig(struct vo *vo)
set_geometry(wl);
- if (wl->vo_opts->keepaspect)
- wl->window_size = wl->vdparams;
+ wl->window_size = wl->vdparams;
if (!wl->vo_opts->fullscreen && !wl->vo_opts->window_maximized)
wl->geometry = wl->window_size;