Skip to content

Commit 0faba20

Browse files
Merge pull request livecode#7566 from livecodepanos/bugfix-23208
[[ Bug 23208 ]] Ensure automatic window tabbing is not allowed
2 parents 82e0a21 + 5dc6a80 commit 0faba20

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/notes/bugfix-23208.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure new stacks always open in new windows on macOS

engine/src/mac-core.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ - (void)applicationDidFinishLaunching: (NSNotification *)notification
355355
selector:@selector(interfaceThemeChangedNotification:)
356356
name:@"AppleInterfaceThemeChangedNotification" object:nil];
357357

358+
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)])
359+
[NSWindow setAllowsAutomaticWindowTabbing: NO];
360+
358361
// We started up successfully, so queue the root runloop invocation
359362
// message.
360363
[self performSelector: @selector(runMainLoop) withObject: nil afterDelay: 0];

0 commit comments

Comments
 (0)