From da13e238ac8ddda6fc2810e1a8552aeb7c9a9650 Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Tue, 28 Jan 2025 21:40:15 +0100 Subject: [PATCH] Add macOS monochrome window controls preference --- .../libpref/init/StaticPrefList-yaml.patch | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/modules/libpref/init/StaticPrefList-yaml.patch b/src/modules/libpref/init/StaticPrefList-yaml.patch index 44bf82c01..e979dc4f8 100644 --- a/src/modules/libpref/init/StaticPrefList-yaml.patch +++ b/src/modules/libpref/init/StaticPrefList-yaml.patch @@ -1,20 +1,8 @@ diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml -index 5c5992d7b32e4c16d6a92815ca6fd54e8fcec824..03d3ae7af3addf76a3f4a79b49b7560aa5431e31 100644 +index ce2393978f77f55f42ae9b97e5d40328ce8eaae4..4a20d3c4574c2a123140f44e2f1455fa181b0700 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml -@@ -17384,6 +17384,11 @@ - value: false - mirror: always - -+- name: zen.widget.mac.mono-window-controls -+ type: RelaxedAtomicBool -+ value: true -+ mirror: always -+ - #ifdef XP_MACOSX - - # Whether to shift by the menubar height on fullscreen mode. -@@ -17810,7 +17815,7 @@ +@@ -18060,7 +18060,7 @@ # Whether we use the mica backdrop. Off by default for now. - name: widget.windows.mica type: bool @@ -23,3 +11,17 @@ index 5c5992d7b32e4c16d6a92815ca6fd54e8fcec824..03d3ae7af3addf76a3f4a79b49b7560a mirror: once #endif +@@ -18173,6 +18173,13 @@ + mirror: always + #endif + ++#ifdef XP_MACOSX ++- name: zen.widget.mac.mono-window-controls ++ type: RelaxedAtomicBool ++ value: true ++ mirror: always ++#endif ++ + #--------------------------------------------------------------------------- + # Prefs starting with "zoom." + #---------------------------------------------------------------------------