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 9f924450458bb328c13183116ba8f4b70445aa24..4101c0b4cf6049f8cbd60f280b8e9c9941685d4f 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::>() {