summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/vo_wayland.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c
index d9b953b7b9..54376d7e6d 100644
--- a/video/out/vo_wayland.c
+++ b/video/out/vo_wayland.c
@@ -807,8 +807,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *fmt, int flags)
vo_wayland_config(vo, flags);
- if (p->wl->window.events & VO_EVENT_RESIZE)
- resize(p);
+ resize(p);
return 0;
}