[vlc-commits] macosx: reset float-on-top when native fullscreen has already finished
David Fuhrmann
git at videolan.org
Sun Nov 10 12:10:26 CET 2013
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Nov 9 17:22:00 2013 +0100| [e062d7c8b5480d7794b2d009a3dcf2631792a97a] | committer: David Fuhrmann
macosx: reset float-on-top when native fullscreen has already finished
This fixes issues where video window just disappears when exiting fullscreen,
only on Mavericks.
close #9814
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e062d7c8b5480d7794b2d009a3dcf2631792a97a
---
modules/gui/macosx/Windows.m | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 2e06f02..a9fa222 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -693,8 +693,6 @@
[NSCursor setHiddenUntilMouseMoves: NO];
[[[VLCMainWindow sharedInstance] fsPanel] setNonActive: nil];
- [[[VLCMain sharedInstance] voutController] updateWindowLevelForHelperWindows: i_originalLevel];
- [self setLevel:i_originalLevel];
if (b_dark_interface) {
NSRect winrect;
@@ -725,6 +723,12 @@
[self setMovableByWindowBackground: YES];
}
+- (void)windowDidExitFullScreen:(NSNotification *)notification
+{
+ [[[VLCMain sharedInstance] voutController] updateWindowLevelForHelperWindows: i_originalLevel];
+ [self setLevel:i_originalLevel];
+}
+
#pragma mark -
#pragma mark Fullscreen Logic
More information about the vlc-commits
mailing list