feat: Fixed unpinning an essential tab directly from shortcuts, b=no-bug, c=folders, split-view, tabs, workspaces

This commit is contained in:
mr. m
2026-01-29 07:39:09 +01:00
parent 658e35ebde
commit e34ed3e882
5 changed files with 163 additions and 151 deletions

View File

@@ -807,7 +807,7 @@ class nsZenWorkspaces {
chromeFlags & Ci.nsIWebBrowserChrome.CHROME_MENUBAR;
return this._shouldHaveWorkspaces;
}
return this._shouldHaveWorkspaces;
return this._shouldHaveWorkspaces && !document.documentElement.hasAttribute("taskbartab");
}
get isPrivateWindow() {