summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2018-05-15 20:20:16 +0100
committerJan Ekström <jeebjp@gmail.com>2018-05-20 02:48:23 +0300
commit43d575616cc942943f3f41c2673de158127daef6 (patch)
tree7a19cc000f64498b806871c2add95c9df1170e82 /video/out/wayland_common.h
parent05b392bc949e918aaedb6383193edfd667bba646 (diff)
downloadmpv-43d575616cc942943f3f41c2673de158127daef6.tar.bz2
mpv-43d575616cc942943f3f41c2673de158127daef6.tar.xz
wayland_common: fix maximized state
Window size should not change if the window has been maximized or tiled.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index f96226dbc2..9aa057fa57 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -54,6 +54,7 @@ struct vo_wayland_state {
struct mp_rect window_size;
float aspect_ratio;
bool fullscreen;
+ bool maximized;
bool configured;
int wakeup_pipe[2];
int pending_vo_events;