[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:56 CEST 2013
    
    
  
vlc/vlc-2.1 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Oct 25 23:30:19 2013 +0200| [00c7f057c26b6afb19570a0f5deda6a30ecd5c62] | committer: David Fuhrmann
macosx: fix visual fullscreen glitch when exiting VLC on Mavericks (close #9604)
(cherry picked from commit 5f7320bd1b0070b69f3ac45feea0680f9ce8ecb6)
Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=00c7f057c26b6afb19570a0f5deda6a30ecd5c62
---
 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