diff options
author | Dudemanguy <random342@airmail.cc> | 2022-01-25 11:56:37 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-01-27 15:15:43 +0000 |
commit | 073fbd98eeec86e62b8fada4fe9d42444981edfa (patch) | |
tree | ba97a2efdec49acbfdd38cbcfd3b2b2954623b5c /video/out/opengl | |
parent | 5bcf0617448362e12a813c6c8f5192a8c9c05cc2 (diff) | |
download | mpv-073fbd98eeec86e62b8fada4fe9d42444981edfa.tar.bz2 mpv-073fbd98eeec86e62b8fada4fe9d42444981edfa.tar.xz |
wayland: actually handle 0x0 resizes correctly
According to the xdg-shell protocol spec, a 0x0 size from the compositor
means that "the client should decide its own window dimension". We were
not doing this correctly. What should happen is that mpv should simply
reuse the old window size if it is not maximized or fullscreened. This
should work on all (reasonably recent) versions of mutter and an
compositor that follows the spec.
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/stable/xdg-shell/xdg-shell.xml#L1050
Diffstat (limited to 'video/out/opengl')
0 files changed, 0 insertions, 0 deletions