From e003fa2a661b89108ccf0818652ba2ec306a5cc9 Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Mon, 23 Dec 2024 15:03:08 +0100 Subject: [PATCH] Disable accent color in titlebar for improved aesthetics --- src/widget/windows/nsLookAndFeel-cpp.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/widget/windows/nsLookAndFeel-cpp.patch diff --git a/src/widget/windows/nsLookAndFeel-cpp.patch b/src/widget/windows/nsLookAndFeel-cpp.patch new file mode 100644 index 000000000..be310601f --- /dev/null +++ b/src/widget/windows/nsLookAndFeel-cpp.patch @@ -0,0 +1,12 @@ +diff --git a/widget/windows/nsLookAndFeel.cpp b/widget/windows/nsLookAndFeel.cpp +index 58c5fc3b55da47109e16cc3d6f44b0950b2965e7..ae1713898d0b8298480bdaf8a9ef7629423c3dee 100644 +--- a/widget/windows/nsLookAndFeel.cpp ++++ b/widget/windows/nsLookAndFeel.cpp +@@ -849,6 +849,7 @@ auto nsLookAndFeel::ComputeTitlebarColors() -> TitlebarColors { + // turned on. + result.mUseAccent = + dwmKey.GetValueAsDword(u"ColorPrevalence"_ns).valueOr(0) == 1; ++ result.mUseAccent = false; // Zen: Disable accent color in titlebar because it's ugly + if (!result.mUseAccent) { + return result; + }