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

macosx: fixed crash on Leopard

parent feeb0ed8
......@@ -571,8 +571,11 @@ static VLCMain *_o_sharedMainInstance = nil;
var_AddCallback(p_playlist, "volume", VolumeUpdated, self);
var_AddCallback(p_playlist, "mute", VolumeUpdated, self);
if (OSX_LION)
{
if ([NSApp currentSystemPresentationOptions] == NSApplicationPresentationFullScreen)
var_SetBool( p_playlist, "fullscreen", YES );
}
/* load our Core Dialogs nib */
nib_coredialogs_loaded = [NSBundle loadNibNamed:@"CoreDialogs" owner: NSApp];
......
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