[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:04:53 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Feb 11 15:04:37 2012 +0100| [ce572957b5fd7184887f6b4f83ea7b1c78402462] | 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
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce572957b5fd7184887f6b4f83ea7b1c78402462
---
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 4a1743c..331c7cf 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