Commit 8a8767fe authored by David Fuhrmann's avatar David Fuhrmann

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

close #11061
parent c877b353
...@@ -1074,6 +1074,7 @@ ...@@ -1074,6 +1074,7 @@
} }
b_in_fullscreen_transition = YES; b_in_fullscreen_transition = YES;
[self setFullscreen:NO];
[self setAlphaValue: 0.0]; [self setAlphaValue: 0.0];
[self orderFront: self]; [self orderFront: self];
...@@ -1119,7 +1120,6 @@ ...@@ -1119,7 +1120,6 @@
- (void)hasEndedFullscreen - (void)hasEndedFullscreen
{ {
[self setFullscreen:NO];
b_in_fullscreen_transition = NO; b_in_fullscreen_transition = NO;
/* This function is private and should be only triggered at the end of the fullscreen change animation */ /* This function is private and should be only triggered at the end of the fullscreen change animation */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment