Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Invoke pane's focus_in handler when pane is focused directly
Max Brunsfeld2e35d900e013
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rsindex a1f3e6992ae..e8dbc746944 100644--- a/crates/workspace/src/pane.rs+++ b/crates/workspace/src/pane.rs@@ -239,6 +239,7 @@ impl Pane {let focus_handle = cx.focus_handle();let subscriptions = vec![+ cx.on_focus(&focus_handle, Pane::focus_in),cx.on_focus_in(&focus_handle, Pane::focus_in),cx.on_focus_out(&focus_handle, Pane::focus_out),];