From c9a53b63a762ac6ca4a8bacfa3ff09409228bff2 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sat, 3 Feb 2024 18:52:03 +0200 Subject: [PATCH] Fix the compilation error (#7328) Follow-up of https://github.com/zed-industries/zed/pull/7326 Release Notes: - N/A --- crates/gpui/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs index 9f92445045..4101c0b4cf 100644 --- a/crates/gpui/src/app.rs +++ b/crates/gpui/src/app.rs @@ -666,7 +666,7 @@ impl AppContext { .values() .filter_map(|window| { let window = window.as_ref()?; - (window.dirty || window.focus_invalidated).then_some(window.handle) + window.dirty.then_some(window.handle) }) .collect::>() {