summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-05-31 08:36:15 -0500
committerDudemanguy <random342@airmail.cc>2022-08-14 16:04:49 +0000
commitf0011552e7bd0d7ecaac02069781ef23973d411e (patch)
treef079965b37baaf98b08caf7322c537bbda766e5a /player/lua
parentf781dddabcaf0c7127e28cea1ed035847ef85c06 (diff)
downloadmpv-f0011552e7bd0d7ecaac02069781ef23973d411e.tar.bz2
mpv-f0011552e7bd0d7ecaac02069781ef23973d411e.tar.xz
wayland: add support for configure bounds
In wayland-protocols 1.25, xdg-shell got a version bump which added the configure_bounds event. The compositor can send this to clients to indicate that they should not resize past a certain size. For mpv, we'll choose to only listen to this on reconfig events (i.e. when the window first appears and if the video resolution changes later in the playlist). However, this behavior is still exposed as a user option (default on) because it will neccesarily conflict with a user setting a specific geometry size and/or window scale. Presumably, if someone is setting a really large size that goes beyond the bounds of their monitor, they actually want it like that. The wayland-protocols version is newer-ish, but we can get around having to poke the build system by just using a define that exists in the generated xdg-shell header.
Diffstat (limited to 'player/lua')
0 files changed, 0 insertions, 0 deletions