[vlc-commits] macosx: already set fullscreen to no when fullscreen exit animation is started

David Fuhrmann git at videolan.org
Tue Mar 25 21:38:52 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Mar 25 18:40:48 2014 +0100| [8a8767fed1ca22a7ec57e69da7cea79dae6f3a11] | committer: David Fuhrmann

macosx: already set fullscreen to no when fullscreen exit animation is started

close #11061

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

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

diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 9267c5b..3666da4 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -1074,6 +1074,7 @@
     }
 
     b_in_fullscreen_transition = YES;
+    [self setFullscreen:NO];
 
     [self setAlphaValue: 0.0];
     [self orderFront: self];
@@ -1119,7 +1120,6 @@
 
 - (void)hasEndedFullscreen
 {
-    [self setFullscreen:NO];
     b_in_fullscreen_transition = NO;
 
     /* This function is private and should be only triggered at the end of the fullscreen change animation */



More information about the vlc-commits mailing list