[vlc-commits] macosx: avoid issue which may wrongly hide the controls bar in non-lion fullscreen mode

David Fuhrmann git at videolan.org
Sun Mar 30 23:45:06 CEST 2014


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Mar 30 21:36:57 2014 +0200| [b619427b752ec9ca165cd7d8139f82d9a399df55] | committer: David Fuhrmann

macosx: avoid issue which may wrongly hide the controls bar in non-lion fullscreen mode

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index b7839d4..77bed60 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -454,7 +454,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
     [o_video_view setHidden: YES];
     [o_split_view setHidden: NO];
-    if ([self fullscreen]) {
+    if (b_nativeFullscreenMode && [self fullscreen]) {
         [[o_controls_bar bottomBarView] setHidden: NO];
         [o_fspanel setNonActive:nil];
     }
@@ -471,7 +471,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
     [o_split_view setHidden: YES];
     [o_video_view setHidden: NO];
-    if ([self fullscreen]) {
+    if (b_nativeFullscreenMode && [self fullscreen]) {
         [[o_controls_bar bottomBarView] setHidden: YES];
         [o_fspanel setActive:nil];
     }



More information about the vlc-commits mailing list