[vlc-devel] [PATCH] macosx: unblackout other screens on lion as well, when leaving full screen

David Fuhrmann david.fuhrmann at googlemail.com
Mon Jan 23 00:11:27 CET 2012


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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 674e615..b6507dc 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1515,7 +1515,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
     [o_fullscreen_btn setState: NO];
 
     /* We always try to do so */
-    if (!(OSX_LION || !b_nativeFullscreenMode))
+    if ( !b_nativeFullscreenMode )
         [NSScreen unblackoutScreens];
     vout_thread_t *p_vout = getVout();
     if (p_vout)
-- 
1.7.5.4




More information about the vlc-devel mailing list