diff options
author | Dudemanguy <random342@airmail.cc> | 2024-04-11 22:16:18 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-04-13 14:33:58 +0000 |
commit | 4023146a04be2bd4aaf46e57cac80c7883a9239b (patch) | |
tree | 98fc461ae51318614bb5ce66759a9bd41f22ffb9 /video/out/wayland_common.h | |
parent | 247ef82a7691e2614e52f544e8e5b62070d7c2f0 (diff) | |
download | mpv-4023146a04be2bd4aaf46e57cac80c7883a9239b.tar.bz2 mpv-4023146a04be2bd4aaf46e57cac80c7883a9239b.tar.xz |
wayland: enforce a state change after a reconfigure
If mpv is coming out of some locked size state (fullscreen, maximized,
tiled), the window size given by the reconfigure event should be used
assuming the --auto-window-size option is set.
Fixes 8a9749b8a563f258342450160c98e9c02ebedc96
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r-- | video/out/wayland_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index 3e8530eaff..7d1c113f3a 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -75,6 +75,7 @@ struct vo_wayland_state { bool hidden; bool initial_size_hint; bool locked_size; + bool reconfigured; bool scale_configured; bool state_change; bool tiled; |