[vlc-commits] macosx: disable fullscreen hack on yosemite and higher

David Fuhrmann git at videolan.org
Sat Oct 10 17:00:12 CEST 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at 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.) {
 



More information about the vlc-commits mailing list