From 3462724d34a66c19b05c5b601b3a5ad6d6bae53a Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 7 Jan 2026 08:10:47 +0100 Subject: [PATCH] Revert "agent_ui: Fix agent UI stealing focus on start up (#46088)" This reverts commit e70d2524b32cac25c71d2aa3172b0e6767beab87. --- crates/agent_ui/src/acp/thread_view.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rs index ae37d99d3058a4..b6f560b0de515d 100644 --- a/crates/agent_ui/src/acp/thread_view.rs +++ b/crates/agent_ui/src/acp/thread_view.rs @@ -736,9 +736,7 @@ impl AcpThreadView { }) }); - if this.focus_handle(cx).is_focused(window) { - this.message_editor.focus_handle(cx).focus(window, cx); - } + this.message_editor.focus_handle(cx).focus(window, cx); cx.notify(); }