Commit 1ed411ae authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: fixed missing menubar on Lion when entering fullscreen mode through a...

macosx: fixed missing menubar on Lion when entering fullscreen mode through a VLC internal trigger (fixes #5537)
(cherry picked from commit f004bad2b2e87a5afff86f6e8676cf856c706bf5)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 49815bb5
......@@ -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)];
}
......
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