Commit e062d7c8 authored by David Fuhrmann's avatar 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
parent a24db0a7
...@@ -693,8 +693,6 @@ ...@@ -693,8 +693,6 @@
[NSCursor setHiddenUntilMouseMoves: NO]; [NSCursor setHiddenUntilMouseMoves: NO];
[[[VLCMainWindow sharedInstance] fsPanel] setNonActive: nil]; [[[VLCMainWindow sharedInstance] fsPanel] setNonActive: nil];
[[[VLCMain sharedInstance] voutController] updateWindowLevelForHelperWindows: i_originalLevel];
[self setLevel:i_originalLevel];
if (b_dark_interface) { if (b_dark_interface) {
NSRect winrect; NSRect winrect;
...@@ -725,6 +723,12 @@ ...@@ -725,6 +723,12 @@
[self setMovableByWindowBackground: YES]; [self setMovableByWindowBackground: YES];
} }
- (void)windowDidExitFullScreen:(NSNotification *)notification
{
[[[VLCMain sharedInstance] voutController] updateWindowLevelForHelperWindows: i_originalLevel];
[self setLevel:i_originalLevel];
}
#pragma mark - #pragma mark -
#pragma mark Fullscreen Logic #pragma mark Fullscreen Logic
......
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