[vlc-commits] macosx: set fullscreen to false also if window is exited the fast way
David Fuhrmann
git at videolan.org
Sun Mar 30 23:45:06 CEST 2014
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Mar 30 21:39:20 2014 +0200| [1e3cdead755adacb4a4a6ff35e482b7dc99f4cfe] | committer: David Fuhrmann
macosx: set fullscreen to false also if window is exited the fast way
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e3cdead755adacb4a4a6ff35e482b7dc99f4cfe
---
modules/gui/macosx/Windows.m | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 3666da4..d45ee79 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -1049,6 +1049,9 @@
o_fullscreen_anim2 = nil;
}
+ b_in_fullscreen_transition = YES;
+ [self setFullscreen:NO];
+
if (!b_animation) {
/* We don't animate if we are not visible, instead we
* simply fade the display */
@@ -1073,9 +1076,6 @@
return;
}
- b_in_fullscreen_transition = YES;
- [self setFullscreen:NO];
-
[self setAlphaValue: 0.0];
[self orderFront: self];
[[o_video_view window] orderFront: self];
More information about the vlc-commits
mailing list