diff options
author | Dudemanguy <random342@airmail.cc> | 2022-01-25 11:48:43 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-01-27 15:15:43 +0000 |
commit | 5bcf0617448362e12a813c6c8f5192a8c9c05cc2 (patch) | |
tree | 44709368f9751da59ceb0c7e0e46dae6de988561 /video/out/vo_rpi.c | |
parent | 8087e3371f8ffbdc8ddcbc0445392b0480ef02a4 (diff) | |
download | mpv-5bcf0617448362e12a813c6c8f5192a8c9c05cc2.tar.bz2 mpv-5bcf0617448362e12a813c6c8f5192a8c9c05cc2.tar.xz |
Revert "wayland: ignore 0x0 resizes"
So actually according to the xdg-shell spec, a 0x0 resize is meant to
indicate that "the client should decide its own window dimension".
Previously, this just accidentally worked. In mutter 41.3, they changed
how 0x0 resizes were sent and what actually happened was that mpv tried
to resize itself to 0x0. This was obviously broken, so the reverted
commit naively just ignored 0x0. It actually seemed to work, but it
ended up breaking older versions of mutter. It's also not exactly the
correct fix so it deserves a revert.
This reverts commit d16defac27fcfe3e5fc43af6e42c2e590988cd3d.
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/stable/xdg-shell/xdg-shell.xml#L1050
Diffstat (limited to 'video/out/vo_rpi.c')
0 files changed, 0 insertions, 0 deletions