Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui: Respect macOS 'Do Nothing' window double-click setting (#39235)
Mario Kozjake111acad33c3
diff --git a/crates/gpui/src/platform/mac/window.rs b/crates/gpui/src/platform/mac/window.rsindex d5b1ea900d8..694dc7e023d 100644--- a/crates/gpui/src/platform/mac/window.rs+++ b/crates/gpui/src/platform/mac/window.rs@@ -1530,8 +1530,11 @@ impl PlatformWindow for MacWindow {// There is no documented API for "Fill" action, so we'll just zoom the windowwindow.zoom_(nil);}+ "None" | "" => {+ // Do nothing - respect the "Do Nothing" system setting+ }_ => {- window.zoom_(nil);+ // Default to doing nothing for unrecognized settings}}}