Commit 1ee32a26 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: make sure that the non-native fullscreen mode is correctly left when a clip is over

(cherry picked from commit 9266718f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 14e5e4c5
......@@ -1219,6 +1219,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
[self makeFirstResponder: o_video_view];
else
[self makeFirstResponder: nil];
if (!b_videoPlayback && b_fullscreen && !b_nativeFullscreenMode)
[self leaveFullscreenAndFadeOut: YES];
}
- (void)resizeWindow
......@@ -1547,7 +1550,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (OSX_LEOPARD)
SetSystemUIMode( kUIModeNormal, kUIOptionAutoShowMenuBar);
else
[NSApp setPresentationOptions:(NSApplicationPresentationDefault)];
[NSApp setPresentationOptions: NSApplicationPresentationDefault];
/* Will release the lock */
[self hasEndedFullscreen];
......
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