Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix broken `is_maximized` check on Windows (#54436)
John Tur847510ca4bab
diff --git a/crates/gpui_windows/src/window.rs b/crates/gpui_windows/src/window.rsindex 405d415d713..f655c1989e2 100644--- a/crates/gpui_windows/src/window.rs+++ b/crates/gpui_windows/src/window.rs@@ -174,7 +174,7 @@ impl WindowsWindowState {}pub(crate) fn is_maximized(&self) -> bool {- !self.is_fullscreen()+ !self.is_fullscreen() && unsafe { IsZoomed(self.hwnd) }.as_bool()}fn bounds(&self) -> Bounds<Pixels> {