]> git.sesse.net Git - vlc/commitdiff
macosx: avoid issue which may wrongly hide the controls bar in non-lion fullscreen...
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 30 Mar 2014 19:36:57 +0000 (21:36 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 30 Mar 2014 21:44:40 +0000 (23:44 +0200)
modules/gui/macosx/MainWindow.m

index b7839d4d3f0ccffe616b2db7ff505aac7e93d7e7..77bed6023516d447fe58d7c2a247eb4e5da25173 100644 (file)
@@ -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];
     }