summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-02-15 09:25:26 +0100
committerDamiano Galassi <[email protected]>2019-02-15 09:25:26 +0100
commit8579cacb116028e33fe7f77eead1ab2b50b5bb3d (patch)
tree6c1af2e5771520f453aeb3fbd0236117680a5261 /macosx/HBQueueController.m
parentcaf55b1feeaf8e694e27194e80f07b3a39a7b9b8 (diff)
MacGui: disable NSWindow tabbing support.
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r--macosx/HBQueueController.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m
index dfe824409..f42067f6c 100644
--- a/macosx/HBQueueController.m
+++ b/macosx/HBQueueController.m
@@ -112,6 +112,11 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext;
- (void)windowDidLoad
{
+ if (@available (macOS 10.12, *))
+ {
+ self.window.tabbingMode = NSWindowTabbingModeDisallowed;
+ }
+
// lets setup our queue list table view for drag and drop here
[self.tableView registerForDraggedTypes:@[DragDropSimplePboardType]];
[self.tableView setDraggingSourceOperationMask:NSDragOperationEvery forLocal:YES];