summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2021-09-13 13:45:17 -0500
committerDudemanguy <random342@airmail.cc>2021-09-13 20:49:07 +0000
commit560e6c8709811038dfcd3ff8b789670a18649d17 (patch)
tree6d1a8be8c7991edd7afdd95c5244f04ec59905e4 /sub/ass_mp.c
parent62b2c5db982103f84d61e4abb0cc3a3aff077e1c (diff)
downloadmpv-560e6c8709811038dfcd3ff8b789670a18649d17.tar.bz2
mpv-560e6c8709811038dfcd3ff8b789670a18649d17.tar.xz
wayland: report correct window size when maximized
In wayland_common, wl->window_size keeps track of the window's size when it is not in the fullscreen or maximized state. GET_UNFS_WINDOW_SIZE is meant to report the size except for when it is fullscreen (hence UNFS). However, the actual function was merely returning the wl->window_size so it was wrong for maximized windows. Workaround this by returning wl->geometry instead when we have the maximized case. Fixes #9207.
Diffstat (limited to 'sub/ass_mp.c')
0 files changed, 0 insertions, 0 deletions