diff options
author | Akemi <der.richter@gmx.de> | 2017-01-14 21:12:16 +0100 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-01-19 14:52:51 +0100 |
commit | 202f9b218af093e2002bf2551b44afffcba26f7d (patch) | |
tree | e523f235a10f5de6f9e0336962c1f62187d0a893 /video/out/cocoa/window.h | |
parent | 4fe45fb3a18dd705bfeeab751323133481abf36e (diff) | |
download | mpv-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/window.h')
0 files changed, 0 insertions, 0 deletions