Commit f004bad2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

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)
parent 7d282fac
......@@ -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