Commit 1e3cdead authored by David Fuhrmann's avatar David Fuhrmann

macosx: set fullscreen to false also if window is exited the fast way

parent b619427b
...@@ -1049,6 +1049,9 @@ ...@@ -1049,6 +1049,9 @@
o_fullscreen_anim2 = nil; o_fullscreen_anim2 = nil;
} }
b_in_fullscreen_transition = YES;
[self setFullscreen:NO];
if (!b_animation) { if (!b_animation) {
/* We don't animate if we are not visible, instead we /* We don't animate if we are not visible, instead we
* simply fade the display */ * simply fade the display */
...@@ -1073,9 +1076,6 @@ ...@@ -1073,9 +1076,6 @@
return; return;
} }
b_in_fullscreen_transition = YES;
[self setFullscreen:NO];
[self setAlphaValue: 0.0]; [self setAlphaValue: 0.0];
[self orderFront: self]; [self orderFront: self];
[[o_video_view window] orderFront: self]; [[o_video_view window] orderFront: self];
......
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