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 f004bad2)
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