From 98f5579c02481267cd63f7e87d12f53a5b631618 Mon Sep 17 00:00:00 2001 From: Akemi Date: Fri, 18 Aug 2017 21:44:33 +0200 Subject: [PATCH] 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. --- osdep/macosx_menubar.m | 3 +++ 1 file changed, 3 insertions(+) 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",