From bef2135a44ee07b68fe255c8ae4491b2e45e0895 Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Fri, 25 Oct 2013 10:22:40 +0200 Subject: wayland: fix fullscreen transparent border regions The default behavior of weston changed some time ago to not fill the surface black for fullscreen windows. Now let mpv draw the whole screen in fullscreen mode. --- video/out/wayland_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out/wayland_common.h') diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index 483c0ef1dd..956069707a 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -70,6 +70,8 @@ struct vo_wayland_state { int32_t sh_y; float aspect; + bool is_fullscreen; // don't keep aspect ratio in fullscreen mode + struct wl_surface *surface; int32_t surf_x; int32_t surf_y; -- cgit v1.2.3