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

David Fuhrmann git at videolan.org
Sun Jan 29 23:49:25 CET 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sun Jan 29 20:31:02 2012 +0100| [67394cf1dd995e1b10b199ee5c5cda70bdb6743a] | committer: Jean-Baptiste Kempf

macosx: unblackout other screens on lion as well, when leaving full screen

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
(cherry picked from commit 9592e9cfd44b727011d8f6d88bcd7c27b0b36ff8)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

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



More information about the vlc-commits mailing list