Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Merge branch 'main' into picker-actions
Max Brunsfeld2ac28240e448
diff --cc crates/gpui2/src/window.rsindex 1e88d08538f,0dae6171d9d..14741657426--- a/crates/gpui2/src/window.rs+++ b/crates/gpui2/src/window.rs@@@ -1170,7 -1154,8 +1154,7 @@@ impl<'a> WindowContext<'a>.insert(any_mouse_event.type_id(), handlers);}} else if let Some(any_key_event) = event.keyboard_event() {- let key_dispatch_stack = mem::take(&mut self.window.key_dispatch_stack);- let mut did_handle_action = false;+ let key_dispatch_stack = mem::take(&mut self.window.current_frame.key_dispatch_stack);let key_event_type = any_key_event.type_id();let mut context_stack = SmallVec::<[&DispatchContext; 16]>::new();@@@ -1230,10 -1217,11 +1214,10 @@@}drop(context_stack);- self.window.key_dispatch_stack = key_dispatch_stack;+ self.window.current_frame.key_dispatch_stack = key_dispatch_stack;- return did_handle_action;}- true+ !self.app.propagate_event}/// Attempt to map a keystroke to an action based on the keymap.