summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-10-25 10:22:40 +0200
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-10-25 10:30:11 +0200
commitbef2135a44ee07b68fe255c8ae4491b2e45e0895 (patch)
tree8cc816bd97dfa34d7ac6d8ea9138b1ce3864a48e /video/out/wayland_common.h
parent96432241bde0bf61a193bbc0503a6a6955179f69 (diff)
downloadmpv-bef2135a44ee07b68fe255c8ae4491b2e45e0895.tar.bz2
mpv-bef2135a44ee07b68fe255c8ae4491b2e45e0895.tar.xz
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.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h2
1 files changed, 2 insertions, 0 deletions
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;