Commit 1f9b2e88 authored by David Fuhrmann's avatar David Fuhrmann

macosx: block macosx-background when lion fullscreen is enabled

close #5174
parent 081ecbd5
...@@ -1751,7 +1751,8 @@ static VLCMainWindow *_o_sharedInstance = nil; ...@@ -1751,7 +1751,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
- (id)setupVideoView - (id)setupVideoView
{ {
if( config_GetInt( VLCIntf, "macosx-background" ) ) // TODO: make lion fullscreen compatible with macosx-background and !embedded-video
if( config_GetInt( VLCIntf, "macosx-background" ) && !b_nativeFullscreenMode )
{ {
msg_Dbg( VLCIntf, "Creating background window" ); msg_Dbg( VLCIntf, "Creating background window" );
NSScreen *screen = [NSScreen screenWithDisplayID:(CGDirectDisplayID)config_GetInt( VLCIntf, "macosx-vdev" )]; NSScreen *screen = [NSScreen screenWithDisplayID:(CGDirectDisplayID)config_GetInt( VLCIntf, "macosx-vdev" )];
......
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