Commit 7ef075a9 authored by David Fuhrmann's avatar David Fuhrmann

macosx: small clarification regarding fullscreen controller

(cherry picked from commit 37f24581df46af51482f3acf7df120522eec4d77)
Signed-off-by: default avatarDavid Fuhrmann <david.fuhrmann@googlemail.com>
parent f435727d
...@@ -1541,9 +1541,9 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1541,9 +1541,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_bottombar_view setHidden: b_videoPlayback]; [o_bottombar_view setHidden: b_videoPlayback];
else else
[o_bottombar_view setHidden: NO]; [o_bottombar_view setHidden: NO];
if( b_videoPlayback ) if( b_videoPlayback && b_fullscreen )
[o_fspanel setActive: nil]; [o_fspanel setActive: nil];
else if( !b_videoPlayback )
[o_fspanel setNonActive: nil]; [o_fspanel setNonActive: nil];
} }
...@@ -1848,8 +1848,6 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1848,8 +1848,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
if( [o_videoWindow isVisible] ) if( [o_videoWindow isVisible] )
[o_videoWindow orderOut: self]; [o_videoWindow orderOut: self];
[o_fspanel setActive: nil];
b_fullscreen = YES; b_fullscreen = YES;
[self unlockFullscreenAnimation]; [self unlockFullscreenAnimation];
} }
......
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