Commit 8d9646c1 authored by David Fuhrmann's avatar David Fuhrmann

macosx: workaround for lion fullscreen behaviour at startup (refs #6668)

parent e38b9b06
......@@ -2084,6 +2084,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
#pragma mark Lion native fullscreen handling
- (void)windowWillEnterFullScreen:(NSNotification *)notification
{
// workaround, see #6668
[NSApp setPresentationOptions:(NSApplicationPresentationFullScreen | NSApplicationPresentationAutoHideDock | NSApplicationPresentationAutoHideMenuBar)];
var_SetBool( pl_Get( VLCIntf ), "fullscreen", true );
vout_thread_t *p_vout = getVout();
......
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