macOS: Disable automatic window tabbing in fullscreen mode (#26600)

Fixes #26534 (this time for real)

Release Notes:

- Fixed issue where Zed would behave weirdly when opening new fullscreen
windows by disabling window tabbing

Apple docs:
https://developer.apple.com/documentation/appkit/nswindow/allowsautomaticwindowtabbing
This commit is contained in:
Stanislav Alekseev 2025-03-13 09:15:01 +02:00 committed by GitHub
parent 606aa7a78c
commit e842b4eade
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,6 +92,8 @@ extern "C" {
#[ctor]
unsafe fn build_classes() {
let _: () = msg_send![class!(NSWindow), setAllowsAutomaticWindowTabbing: NO];
WINDOW_CLASS = build_window_class("GPUIWindow", class!(NSWindow));
PANEL_CLASS = build_window_class("GPUIPanel", class!(NSPanel));
VIEW_CLASS = {