diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-03-14 21:48:14 -0400 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-03-17 14:59:26 +0000 |
commit | 8a9749b8a563f258342450160c98e9c02ebedc96 (patch) | |
tree | 47a9f43128f573155a7fbb0dd5afac3ed7f8c0e7 /player | |
parent | b2ce96bd358a1f7ab70f09ec77b1fa69e61aa70e (diff) | |
download | mpv-8a9749b8a563f258342450160c98e9c02ebedc96.tar.bz2 mpv-8a9749b8a563f258342450160c98e9c02ebedc96.tar.xz |
wayland_common: respect compositor's preferenced size on state change
Currently mpv always uses the previous window size when unmaximizing
or exiting fullscreen. This disregards compositor's preferenced size in
the configure event, resulting in wrong window size if changing window
state and size are delivered in the same configure event.
It's better to always respect the preferenced size instead, unless
the state change is due to runtime geometry change, where we want
to use our preference.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions