summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2021-06-07 23:13:33 +0100
committerAlan Third <alan@idiocy.org>2021-06-07 23:16:15 +0100
commitf7d98dbba0dc7c7e9fea63d39fe88aefa4e9f66c (patch)
treeeb32e44d09a9d4ef282745b48af175b88a872094 /src
parentfcc827619f2cdac9d574f49e08ce4e5be41daf0a (diff)
downloademacs-f7d98dbba0dc7c7e9fea63d39fe88aefa4e9f66c.tar.gz
Revert "src/nsterm.m: fix window tabbing on macOS"
This reverts commit 2207f9adccc0411b7ad73a3703f16250d7f8e139.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 11b02f1726e..f6168243a49 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -7628,6 +7628,14 @@ not_in_argv (NSString *arg)
selector:@selector (viewDidResize:)
name:NSViewFrameDidChangeNotification object:nil];
+ /* macOS Sierra automatically enables tabbed windows. We can't
+ allow this to be enabled until it's available on a Free system.
+ Currently it only happens by accident and is buggy anyway. */
+#ifdef NS_IMPL_COCOA
+ if ([win respondsToSelector: @selector(setTabbingMode:)])
+ [win setTabbingMode: NSWindowTabbingModeDisallowed];
+#endif
+
ns_window_num++;
return self;
}