summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2019-11-30 10:00:49 +0800
committerPhilip Langdale <github.philipl@overt.org>2019-12-01 09:39:51 +0800
commit61b8e1d436976b0d13805728c4b7f3ccd8061c90 (patch)
tree9671489932c7a4a9df5b0315fe30b6732fb3e150 /video/out/wayland_common.h
parent78f1629a539cc14a598831a73c59c3763c074094 (diff)
downloadmpv-61b8e1d436976b0d13805728c4b7f3ccd8061c90.tar.bz2
mpv-61b8e1d436976b0d13805728c4b7f3ccd8061c90.tar.xz
wayland: update Maximize and Minimize handling to use new options
I wanted to get this done quickly as I introduced the new VOCTRL behaviour for minimize and maximize and it was immediately made legacy, so best to purge it before anyone gets confused. I did not sort out fullscreen as that's more involved and not something I've educated myself about yet. But I did replace the VOCTRL_FULLSCREEN usage with the new option change mechanism as that seemed simple enough.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index 567a38fd41..65e0867e23 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -65,12 +65,14 @@ struct vo_wayland_state {
struct wl_registry *registry;
struct wayland_opts *opts;
+ struct m_config_cache *vo_opts_cache;
+ struct mp_vo_opts *vo_opts;
+
/* State */
struct mp_rect geometry;
struct mp_rect window_size;
float aspect_ratio;
bool fullscreen;
- bool maximized;
bool configured;
bool frame_wait;
bool hidden;