[vlc-commits] macosx: make sure the fspanel is visible when using 'float-on-top' in combination with Lion's native fullscreen mode
Felix Paul Kühne
git at videolan.org
Sat Feb 11 15:05:22 CET 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Feb 11 15:04:37 2012 +0100| [b00b902e108c0cdbc24968ed195af1b2381350e8] | committer: Felix Paul Kühne
macosx: make sure the fspanel is visible when using 'float-on-top' in combination with Lion's native fullscreen mode
(cherry picked from commit ce572957b5fd7184887f6b4f83ea7b1c78402462)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=b00b902e108c0cdbc24968ed195af1b2381350e8
---
modules/gui/macosx/MainWindow.m | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 37025a7..d9c033a 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1781,6 +1781,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_fspanel setActive: nil];
[self recreateHideMouseTimer];
+ i_originalLevel = [self level];
+ [self setLevel:NSNormalWindowLevel];
if (b_dark_interface)
{
@@ -1806,6 +1808,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_video_view setFrame: [o_split_view frame]];
[NSCursor setHiddenUntilMouseMoves: NO];
[o_fspanel setNonActive: nil];
+ [self setLevel:i_originalLevel];
b_fullscreen = NO;
if (b_dark_interface)
More information about the vlc-commits
mailing list