diff options
author | Akemi <der.richter@gmx.de> | 2017-08-18 21:44:33 +0200 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-08-18 21:44:33 +0200 |
commit | 98f5579c02481267cd63f7e87d12f53a5b631618 (patch) | |
tree | 9576d159c925e1bd20a22f7e7f9b6798f6e5225d /osdep/macosx_menubar.m | |
parent | 344b75f52da349ab293ee2bb7f48604eabcffb0f (diff) | |
download | mpv-98f5579c02481267cd63f7e87d12f53a5b631618.tar.bz2 mpv-98f5579c02481267cd63f7e87d12f53a5b631618.tar.xz |
osx: remove the standard "Show Tab Bar" menu item
it's unused and added automatically. we need to guard the deactivation
since it's a 10.12+ feature.
Diffstat (limited to 'osdep/macosx_menubar.m')
-rw-r--r-- | osdep/macosx_menubar.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/macosx_menubar.m b/osdep/macosx_menubar.m index 03a58fa1c8..b0ace205f3 100644 --- a/osdep/macosx_menubar.m +++ b/osdep/macosx_menubar.m @@ -34,6 +34,9 @@ [userDefaults setBool:YES forKey:@"NSDisabledDictationMenuItem"]; [userDefaults setBool:YES forKey:@"NSDisabledCharacterPaletteMenuItem"]; + if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)]) + NSWindow.allowsAutomaticWindowTabbing = NO; + menuTree = @[ @{ @"name": @"Apple", |