diff options
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 289ed0442e..7c8bfe442c 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1293,7 +1293,7 @@ int vo_wayland_control (struct vo *vo, int *events, int request, void *arg) return VO_NOTIMPL; } -bool vo_wayland_config (struct vo *vo, uint32_t flags) +bool vo_wayland_config (struct vo *vo) { struct vo_wayland_state *wl = vo->wayland; @@ -1308,11 +1308,9 @@ bool vo_wayland_config (struct vo *vo, uint32_t flags) wl->window.p_height = vo->dheight; wl->window.aspect = vo->dwidth / (float) MPMAX(vo->dheight, 1); - if (!(flags & VOFLAG_HIDDEN)) { - wl->window.width = vo->dwidth; - wl->window.height = vo->dheight; - vo_wayland_fullscreen(vo); - } + wl->window.width = vo->dwidth; + wl->window.height = vo->dheight; + vo_wayland_fullscreen(vo); return true; } |