From 5d5d51c6f396721d909587de697b70d31cf52d52 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Thu, 12 Feb 2026 11:58:42 +0100 Subject: [PATCH] fix: Only apply transparent background to windows of type `navigator:browser`, b=no-bug, c=common --- .../asyncshutdown/AsyncShutdown-sys-mjs.patch | 28 ------------------- src/zen/common/styles/zen-theme.css | 4 +-- 2 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 src/toolkit/components/asyncshutdown/AsyncShutdown-sys-mjs.patch diff --git a/src/toolkit/components/asyncshutdown/AsyncShutdown-sys-mjs.patch b/src/toolkit/components/asyncshutdown/AsyncShutdown-sys-mjs.patch deleted file mode 100644 index 336057c89..000000000 --- a/src/toolkit/components/asyncshutdown/AsyncShutdown-sys-mjs.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/toolkit/components/asyncshutdown/AsyncShutdown.sys.mjs b/toolkit/components/asyncshutdown/AsyncShutdown.sys.mjs -index 2aaef80411b2cef9563c49f23d36b08222b06b03..7bd15ebb0d9d09da57a287b47beb1f0e2e17d229 100644 ---- a/toolkit/components/asyncshutdown/AsyncShutdown.sys.mjs -+++ b/toolkit/components/asyncshutdown/AsyncShutdown.sys.mjs -@@ -492,6 +492,23 @@ function getPhase(topic) { - } - return undefined; - }, -+ -+ /** -+ * Reset the phase after a call to _trigger(). -+ * For testing purposes only. -+ */ -+ get _reset() { -+ let accepted = Services.prefs.getBoolPref( -+ "toolkit.asyncshutdown.testing", -+ false -+ ); -+ if (accepted) { -+ return () => { -+ spinner = new Spinner(topic); -+ }; -+ } -+ return undefined; -+ }, - }); - gPhases.set(topic, phase); - return phase; diff --git a/src/zen/common/styles/zen-theme.css b/src/zen/common/styles/zen-theme.css index 211fb4cf2..8918218b2 100644 --- a/src/zen/common/styles/zen-theme.css +++ b/src/zen/common/styles/zen-theme.css @@ -9,7 +9,7 @@ */ :host(:is(.anonymous-content-host, notification-message)), -:root:not([windowtype^="Browser:"]) { +:root { /* Default values */ --zen-border-radius: 7px; --zen-primary-color: AccentColor; @@ -288,7 +288,7 @@ } } -#main-window:not([chromehidden~='toolbar']) { +#main-window[windowtype="navigator:browser"]:not([chromehidden~='toolbar']) { min-height: 495px !important; @media (-moz-windows-mica) or (-moz-platform: macos) or ((-moz-platform: linux) and