[vlc-commits] macosx: fixed a logic problem which prevent the proper exit off the fullscreen mode when using the 64bit linked against the 10 .7 SDK on 10.6 (close #6157)

Felix Paul Kühne git at videolan.org
Sun Feb 26 20:09:59 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Feb 26 20:09:54 2012 +0100| [4e7ebf8df7f57dafa2a9e4ad1486cc4908aa4e6f] | committer: Felix Paul Kühne

macosx: fixed a logic problem which prevent the proper exit off the fullscreen mode when using the 64bit linked against the 10.7 SDK on 10.6 (close #6157)

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

 modules/gui/macosx/MainWindow.m |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 41d06e3..0779283 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1339,8 +1339,11 @@ return YES;
     else
         [self makeFirstResponder: nil];
 
-    if (!b_videoPlayback && b_fullscreen && !b_nativeFullscreenMode)
-        [[VLCCoreInteraction sharedInstance] toggleFullscreen];
+    if (!b_videoPlayback && b_fullscreen)
+    {
+        if (!b_nativeFullscreenMode || !OSX_LION)
+            [[VLCCoreInteraction sharedInstance] toggleFullscreen];
+    }
 }
 
 - (void)resizeWindow



More information about the vlc-commits mailing list