Commit 193bb48c authored by David Fuhrmann's avatar David Fuhrmann

macosx: disable native fullscreen checkbox only once

(cherry picked from commit 5ff8299fade511fbee60df13f0dfaf94d72d5fd6)
Signed-off-by: default avatarDavid Fuhrmann <david.fuhrmann@googlemail.com>
parent 1b2a1c83
......@@ -134,11 +134,6 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
if (OSX_LION)
[o_sprefs_win setCollectionBehavior: NSWindowCollectionBehaviorFullScreenAuxiliary];
else
[o_intf_nativefullscreen_ckb setEnabled:NO];
#ifndef MAC_OS_X_VERSION_10_7
[o_intf_nativefullscreen_ckb setEnabled:NO];
#endif
[o_hotkeys_listbox setTarget:self];
[o_hotkeys_listbox setDoubleAction:@selector(hotkeyTableDoubleClick:)];
......@@ -472,7 +467,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
#ifdef MAC_OS_X_VERSION_10_7
b_correct_sdk = YES;
#endif
if( !b_correct_sdk || !OSX_LION )
if( !( b_correct_sdk && OSX_LION ))
{
[o_intf_nativefullscreen_ckb setState: NSOffState];
[o_intf_nativefullscreen_ckb setEnabled: NO];
......
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