Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
macOS: Disable fullscreen window tabbing (take 2) (#26774)
Smit Barmaseb9432dbe4242
diff --git a/crates/gpui/src/platform/mac/window.rs b/crates/gpui/src/platform/mac/window.rsindex 5046a9d0412..dfb4824cd96 100644--- a/crates/gpui/src/platform/mac/window.rs+++ b/crates/gpui/src/platform/mac/window.rs@@ -512,6 +512,8 @@ impl MacWindow {unsafe {let pool = NSAutoreleasePool::new(nil);+ let () = msg_send![class!(NSWindow), setAllowsAutomaticWindowTabbing: NO];+let mut style_mask;if let Some(titlebar) = titlebar.as_ref() {style_mask = NSWindowStyleMask::NSClosableWindowMask