fix: when new items enter the tabbed view they should be the active window

This commit is contained in:
Lucas Oskorep
2026-03-02 11:26:28 -05:00
parent 400ce3a77c
commit 42c1e6731e
3 changed files with 25 additions and 0 deletions
+6
View File
@@ -72,6 +72,12 @@ export default class Monitor {
this._workspaces.push(new WindowContainer(this._workArea));
}
focusWindowTab(windowId: number): void {
for (const container of this._workspaces) {
if (container.focusWindowTab(windowId)) return;
}
}
refreshTabTitlesForWindow(winWrap: WindowWrapper): void {
const wsId = winWrap.getWorkspace();
if (wsId >= 0 && wsId < this._workspaces.length) {