summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-08-18 21:44:33 +0200
committerAkemi <der.richter@gmx.de>2017-08-18 21:44:33 +0200
commit98f5579c02481267cd63f7e87d12f53a5b631618 (patch)
tree9576d159c925e1bd20a22f7e7f9b6798f6e5225d /osdep
parent344b75f52da349ab293ee2bb7f48604eabcffb0f (diff)
downloadmpv-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')
-rw-r--r--osdep/macosx_menubar.m3
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",