[vlc-commits] macosx: fixed missing menubar on Lion when entering fullscreen mode through a VLC internal trigger (fixes #5537)
Felix Paul Kühne
git at videolan.org
Tue Dec 20 21:54:01 CET 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Dec 20 21:53:56 2011 +0100| [f004bad2b2e87a5afff86f6e8676cf856c706bf5] | committer: Felix Paul Kühne
macosx: fixed missing menubar on Lion when entering fullscreen mode through a VLC internal trigger (fixes #5537)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f004bad2b2e87a5afff86f6e8676cf856c706bf5
---
modules/gui/macosx/intf.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 1dea43e..8030a63 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1334,7 +1334,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
{
[o_mainwindow toggleFullScreen: self];
if(b_fullscreen)
- [NSApp setPresentationOptions:(NSApplicationPresentationFullScreen)];
+ [NSApp setPresentationOptions:(NSApplicationPresentationFullScreen | NSApplicationPresentationAutoHideDock | NSApplicationPresentationAutoHideMenuBar)];
else
[NSApp setPresentationOptions:(NSApplicationPresentationDefault)];
}
More information about the vlc-commits
mailing list