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

This commit is contained in:
Lucas Oskorep committed 2026-03-02 11:26:28 -05:00
1 parent 400ce3a77c
commit 42c1e6731e
3 files changed
+25

No files matched your search

+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) {