From bd87598af9c27315054814be4980806dd332f69c Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 Oct 2015 22:57:02 +0200 Subject: vo_opengl: wayland: switch to new internal API --- video/out/wayland_common.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'video/out/wayland_common.c') 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; } -- cgit v1.2.3