Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui: Fix performance of app menu opening with large # of windows (#16939)
Piotr Osiewicz226ec9d4041e
diff --git a/crates/gpui/src/window.rs b/crates/gpui/src/window.rsindex 7aae3708d13..877e4654f45 100644--- a/crates/gpui/src/window.rs+++ b/crates/gpui/src/window.rs@@ -3389,7 +3389,7 @@ impl<'a> WindowContext<'a> {self.window.pending_input.is_some()}- fn clear_pending_keystrokes(&mut self) {+ pub(crate) fn clear_pending_keystrokes(&mut self) {self.window.pending_input.take();}