diff options
author | wm4 <wm4@nowhere> | 2015-10-01 22:57:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-01 22:57:02 +0200 |
commit | bd87598af9c27315054814be4980806dd332f69c (patch) | |
tree | 4d902e7cc2c0b6f9ab7cee220665213115a0aa5b /video/out/wayland_common.c | |
parent | f4d62da8f028bb2359a9a4c6792690cfa5bc8930 (diff) | |
download | mpv-bd87598af9c27315054814be4980806dd332f69c.tar.bz2 mpv-bd87598af9c27315054814be4980806dd332f69c.tar.xz |
vo_opengl: wayland: switch to new internal API
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; } |