summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <damiog@gmail.com>2019-02-15 09:25:26 +0100
committerDamiano Galassi <damiog@gmail.com>2019-02-15 09:25:26 +0100
commit8579cacb116028e33fe7f77eead1ab2b50b5bb3d (patch)
tree6c1af2e5771520f453aeb3fbd0236117680a5261 /macosx/HBController.m
parentcaf55b1feeaf8e694e27194e80f07b3a39a7b9b8 (diff)
MacGui: disable NSWindow tabbing support.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 2b64afaaa..af4d88b45 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -211,6 +211,11 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext;
- (void)windowDidLoad
{
+ if (@available (macOS 10.12, *))
+ {
+ self.window.tabbingMode = NSWindowTabbingModeDisallowed;
+ }
+
[self enableUI:NO];
// Bottom