summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-01-27 18:34:17 -0600
committerDudemanguy <random342@airmail.cc>2022-01-27 18:34:17 -0600
commit19dd61fa192ed6f2372efc54bfe15586a29bd09b (patch)
tree2db154356dd7b8ad6cd29b40fdbb3ac1e158e387 /libmpv
parent9098ae5a16d558a50345ecb8f74dcf8d79dd1d77 (diff)
downloadmpv-19dd61fa192ed6f2372efc54bfe15586a29bd09b.tar.bz2
mpv-19dd61fa192ed6f2372efc54bfe15586a29bd09b.tar.xz
wayland: always resize when scale changes on surface enter
a02901cae77c86fb9de997a418296d1fc0e3eada changed how mpv was handling wl_surface_set_buffer_scale. It's correct in that constantly setting the surface scale on every resize (which mpv was previously doing) is unneccessary and not right. However, it introduced a slight regression if someone moved a surface to a new monitor with the same resolution but a different scale. It did not trigger a resize and thus the video would have incorrect dimensions. A later refactor changed how things looked inside here, but this regression wasn't fixed. A resize should always be triggered if the scale changes in this surface event. Fixes #9426.
Diffstat (limited to 'libmpv')
0 files changed, 0 insertions, 0 deletions