From c9b7df4113b594057e5629f5a63cfa521f82e5dd Mon Sep 17 00:00:00 2001 From: Smit Barmase Date: Wed, 1 Oct 2025 19:55:18 +0530 Subject: [PATCH] Revert "gpui: Respect macOS 'Do Nothing' window double-click setting" (#39291) Reverts zed-industries/zed#39235 This broke double-click to zoom, even though it is configured in settings. --- crates/gpui/src/platform/mac/window.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/gpui/src/platform/mac/window.rs b/crates/gpui/src/platform/mac/window.rs index 694dc7e023d5b46d54d409f1d04a4a5a85c51033..d5b1ea900d81adf83448960f485ed767c5549716 100644 --- a/crates/gpui/src/platform/mac/window.rs +++ b/crates/gpui/src/platform/mac/window.rs @@ -1530,11 +1530,8 @@ impl PlatformWindow for MacWindow { // There is no documented API for "Fill" action, so we'll just zoom the window window.zoom_(nil); } - "None" | "" => { - // Do nothing - respect the "Do Nothing" system setting - } _ => { - // Default to doing nothing for unrecognized settings + window.zoom_(nil); } } }