[vlc-commits] macosx: fix visual fullscreen glitch when exiting VLC on Mavericks ( close #9604)

David Fuhrmann git at videolan.org
Fri Oct 25 23:32:25 CEST 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Oct 25 23:30:19 2013 +0200| [5f7320bd1b0070b69f3ac45feea0680f9ce8ecb6] | committer: David Fuhrmann

macosx: fix visual fullscreen glitch when exiting VLC on Mavericks (close #9604)

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

 modules/gui/macosx/intf.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index a213502..aa777ce 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -881,7 +881,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     int returnedValue = 0;
 
     /* always exit fullscreen on quit, otherwise we get ugly artifacts on the next launch */
-    if (b_nativeFullscreenMode) {
+    if (b_nativeFullscreenMode && [o_mainwindow fullscreen]) {
         [o_mainwindow toggleFullScreen: self];
         [NSApp setPresentationOptions:(NSApplicationPresentationDefault)];
     }



More information about the vlc-commits mailing list