feat: Initialize closed windows if no normal restorable windows have been found, b=no-bug, c=workspaces

This commit is contained in:
mr. m
2025-12-30 00:47:03 +01:00
parent ec398760c6
commit 639eb9a267
6 changed files with 32 additions and 80 deletions

View File

@@ -823,7 +823,6 @@ class nsZenWorkspaces {
if (!this.currentWindowIsSyncing) {
this._workspaceCache = this._tempWorkspace ? [this._tempWorkspace] : [];
this.#activeWorkspace = this._tempWorkspace?.uuid;
return this._workspaceCache;
}
return [...this._workspaceCache];
}