]> git.sesse.net Git - vlc/commitdiff
macosx: already set fullscreen to no when fullscreen exit animation is started
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Tue, 25 Mar 2014 17:40:48 +0000 (18:40 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Tue, 25 Mar 2014 20:37:10 +0000 (21:37 +0100)
close #11061

modules/gui/macosx/Windows.m

index 9267c5b6d5cc63111ea7d777c869f789fe4b5f2d..3666da4a4e308a07721d1e33e2e356481d1dd513 100644 (file)
     }
 
     b_in_fullscreen_transition = YES;
+    [self setFullscreen:NO];
 
     [self setAlphaValue: 0.0];
     [self orderFront: self];
 
 - (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 */