]> git.sesse.net Git - vlc/commitdiff
macosx: remove unneeded workaround which disabled native fullscreen restoration ...
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Mon, 31 Mar 2014 12:56:35 +0000 (14:56 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Mon, 31 Mar 2014 12:56:35 +0000 (14:56 +0200)
modules/gui/macosx/intf.m

index 8d8ddd46c95a67a6b11d038e29aef464488179cf..174af9c1ca86f324ce7799fe1ef5ebf2ebaf930f 100644 (file)
@@ -818,12 +818,6 @@ static VLCMain *_o_sharedMainInstance = nil;
 
     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 */
     [[VLCVideoEffects sharedInstance] saveCurrentProfile];
     [[VLCAudioEffects sharedInstance] saveCurrentProfile];