Commit d6d1a241 authored by David Fuhrmann's avatar David Fuhrmann

macosx: hide bottom bar of main window only when really necessary

parent 0103fd95
...@@ -746,14 +746,13 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -746,14 +746,13 @@ static VLCMainWindow *_o_sharedInstance = nil;
} }
if (b_nativeFullscreenMode) { if (b_nativeFullscreenMode) {
if ([NSApp presentationOptions] & NSApplicationPresentationFullScreen) if ([self hasActiveVideo] && [self fullscreen]) {
[[o_controls_bar bottomBarView] setHidden: b_videoPlayback]; [[o_controls_bar bottomBarView] setHidden: b_videoPlayback];
else
[[o_controls_bar bottomBarView] setHidden: NO];
if (b_videoPlayback && b_fullscreen)
[o_fspanel setActive: nil]; [o_fspanel setActive: nil];
if (!b_videoPlayback) } else {
[[o_controls_bar bottomBarView] setHidden: NO];
[o_fspanel setNonActive: nil]; [o_fspanel setNonActive: nil];
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment