Commit 9ffe8e97 authored by David Fuhrmann's avatar David Fuhrmann

macosx: remove unneeded workaround which disabled native fullscreen restoration (refs #7872)

parent dd6454da
...@@ -818,12 +818,6 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -818,12 +818,6 @@ static VLCMain *_o_sharedMainInstance = nil;
playlist_t * p_playlist = pl_Get(p_intf); playlist_t * p_playlist = pl_Get(p_intf);
/* always exit fullscreen on quit, otherwise we get ugly artifacts on the next launch */
if (b_nativeFullscreenMode && [o_mainwindow fullscreen]) {
[o_mainwindow toggleFullScreen: self];
[NSApp setPresentationOptions:(NSApplicationPresentationDefault)];
}
/* save current video and audio profiles */ /* save current video and audio profiles */
[[VLCVideoEffects sharedInstance] saveCurrentProfile]; [[VLCVideoEffects sharedInstance] saveCurrentProfile];
[[VLCAudioEffects sharedInstance] saveCurrentProfile]; [[VLCAudioEffects sharedInstance] saveCurrentProfile];
......
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