From 9df5bd1598e1a86cd3286b2938dd6f2992581b32 Mon Sep 17 00:00:00 2001 From: Guillaume ETHEVE Date: Fri, 6 Nov 2026 01:19:51 +0100 Subject: [PATCH] fix: remove unreachable switcher focus branch after menu routing --- app/ui/shell/shell.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/ui/shell/shell.ts b/app/ui/shell/shell.ts index 67b40735..8d50ea46 100644 --- a/app/ui/shell/shell.ts +++ b/app/ui/shell/shell.ts @@ -1095,10 +1095,6 @@ class Shell { return { shell: true, window: false }; } if (!window.holdToTalk) this.startEscapeMenuTimer(); - if (this.focus === "sidebar") { - this.focus = "window"; - window.onFocus?.(this.lastInput); - } // The window owns frameId from here (render or explicit finish). await window.handleInput(event, frameId); return { shell: true, window: true };