Commit ffa25eff authored by David Fuhrmann's avatar David Fuhrmann

macosx: disable fullscreen hack on yosemite and higher

It seems that Apple fixed this issue starting with Yosemite.
parent 7f1e1c0b
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
BOOL b_inFullscreen = [self fullscreen] || ([self respondsToSelector:@selector(inFullscreenTransition)] && [(VLCVideoWindowCommon *)self inFullscreenTransition]); BOOL b_inFullscreen = [self fullscreen] || ([self respondsToSelector:@selector(inFullscreenTransition)] && [(VLCVideoWindowCommon *)self inFullscreenTransition]);
if((OSX_MAVERICKS || OSX_YOSEMITE) && b_inFullscreen && constrainedRect.size.width == screenRect.size.width if((OSX_MAVERICKS) && b_inFullscreen && constrainedRect.size.width == screenRect.size.width
&& constrainedRect.size.height != screenRect.size.height && constrainedRect.size.height != screenRect.size.height
&& fabs(screenRect.size.height - constrainedRect.size.height) <= 25.) { && fabs(screenRect.size.height - constrainedRect.size.height) <= 25.) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment