diff options
author | der richter <der.richter@gmx.de> | 2020-12-12 15:18:08 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-12-19 15:44:59 +0100 |
commit | 93d071dbd8fb8b9561e1830754c40f3de87cf3ca (patch) | |
tree | f8ea898b48957ef30f5be6e29751a3725df3ee3a /video/out/dr_helper.h | |
parent | 2bc88a2936115f7ab1c530fbe4ee1618ecbdcbf1 (diff) | |
download | mpv-93d071dbd8fb8b9561e1830754c40f3de87cf3ca.tar.bz2 mpv-93d071dbd8fb8b9561e1830754c40f3de87cf3ca.tar.xz |
mac: fix a window positioning bug when exiting fullscreen
when exiting fullscreen we set the window frame to a aspect fit frame of
the fullscreen frame to prevent aspect ration problems when animating.
though that intermediate frame was set too early and before the system
knew we already exited the fullscreen. because of that the frame we set
could not be properly set and its origin was defaulted to the bottom
left corner for exactly one display refresh and only after that the
wanted frame was set. this led to a (dark) grey area on the right or
top depending on the aspect ratio difference of the screen and video.
to prevent this set the intermediate frame in the animation group to
make it sync with the system's fullscreen behaviour.
Fixes #8371
Diffstat (limited to 'video/out/dr_helper.h')
0 files changed, 0 insertions, 0 deletions