vlc | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Mon Mar 31 
14:56:35 2014 +0200| [9ffe8e97421666d25be81b8c54ebe0ec6dba286f] | committer: 
David Fuhrmann

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9ffe8e97421666d25be81b8c54ebe0ec6dba286f
---

 modules/gui/macosx/intf.m |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 8d8ddd4..174af9c 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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];

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to