summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-01-14 21:12:16 +0100
committerAkemi <der.richter@gmx.de>2017-01-19 14:52:51 +0100
commit202f9b218af093e2002bf2551b44afffcba26f7d (patch)
treee523f235a10f5de6f9e0336962c1f62187d0a893 /video/out/cocoa_common.m
parent4fe45fb3a18dd705bfeeab751323133481abf36e (diff)
downloadmpv-202f9b218af093e2002bf2551b44afffcba26f7d.tar.bz2
mpv-202f9b218af093e2002bf2551b44afffcba26f7d.tar.xz
cocoa: properly recover from toggleFullscreen fail
in some circumstances cocoa isn't able to enter or exit fullscreen but we still set window sizes and flags accordingly. this leaves us in a hanging state between fullscreen and window. it also prevents the toggleFullscreen method and its events to work properly afterwards. in that state it's impossible to enter or exit this 'semi-fullscreen'. add a proper fallback to recover from this state. Fixes #4035
Diffstat (limited to 'video/out/cocoa_common.m')
0 files changed, 0 insertions, 0 deletions