vlc | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Sat Oct 10 
16:46:36 2015 +0200| [ffa25effb598b6d58dac62903fb08fc9b8965296] | committer: 
David Fuhrmann

macosx: disable fullscreen hack on yosemite and higher

It seems that Apple fixed this issue starting with Yosemite.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ffa25effb598b6d58dac62903fb08fc9b8965296
---

 modules/gui/macosx/Windows.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index c953bbe..657bab7 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -258,7 +258,7 @@
 
     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
           && fabs(screenRect.size.height - constrainedRect.size.height) <= 
25.) {
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to