This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch reproducible-widget-previews
in repository efl.

View the commit online.

commit 094ab05af997f7d9acd5134168429630dd6e0b94
Author: Cedric BAIL <[email protected]>
AuthorDate: Tue Apr 7 12:22:00 2026 -0600

    ecore_cocoa: disable automatic window tabbing on macOS
    
    macOS Sierra+ merges new windows into tabs by default. EFL
    applications manage their own window lifecycle, so disable
    this system behavior globally at init time via
    NSWindow.allowsAutomaticWindowTabbing.
---
 src/lib/ecore_cocoa/ecore_cocoa.m | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m
index 6b81ea0908..5469035651 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa.m
@@ -61,6 +61,12 @@ ecore_cocoa_init(void)
    [Ecore_Cocoa_Application sharedApplication];
    [NSApp setDelegate:[Ecore_Cocoa_AppDelegate appDelegate]];
 
+   /* Disable macOS automatic window tabbing (Sierra+).  EFL applications
+    * manage their own window/tab lifecycle, so we do not want the system
+    * to silently merge new windows into a single tabbed frame. */
+   if (@available(macOS 10.12, *))
+     [NSWindow setAllowsAutomaticWindowTabbing:NO];
+
    /* Start events monitoring */
    [NSApp run];
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to