mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Transparency types on macos now update when the preference change
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
|
||||
index a9863858f9a28b2c633edd9689d4379203eef1e6..a0c121d934313f272ade1061146fbc4b96e2ddda 100644
|
||||
index a9863858f9a28b2c633edd9689d4379203eef1e6..7ac24baf70727a2a9be428c6f98763f312a0969b 100644
|
||||
--- a/modules/libpref/init/StaticPrefList.yaml
|
||||
+++ b/modules/libpref/init/StaticPrefList.yaml
|
||||
@@ -18305,7 +18305,7 @@
|
||||
@@ -11,7 +11,7 @@ index a9863858f9a28b2c633edd9689d4379203eef1e6..a0c121d934313f272ade1061146fbc4b
|
||||
mirror: once
|
||||
#endif
|
||||
|
||||
@@ -18418,6 +18418,25 @@
|
||||
@@ -18418,6 +18418,26 @@
|
||||
mirror: always
|
||||
#endif
|
||||
|
||||
@@ -24,8 +24,9 @@ index a9863858f9a28b2c633edd9689d4379203eef1e6..a0c121d934313f272ade1061146fbc4b
|
||||
+#ifdef XP_MACOSX
|
||||
+- name: zen.widget.macos.window-material
|
||||
+ type: uint32_t
|
||||
+ value: 0
|
||||
+ mirror: once
|
||||
+ value: 1
|
||||
+ mirror: always
|
||||
+#endif
|
||||
+
|
||||
+#ifdef XP_WIN
|
||||
+- name: zen.widget.windows.acrylic
|
||||
|
@@ -1,5 +1,5 @@
|
||||
diff --git a/widget/cocoa/VibrancyManager.mm b/widget/cocoa/VibrancyManager.mm
|
||||
index 849b62c9976a7bc5fee35e074e54c8f556ed9c38..92ddc9022055f518cb371d64e8e644c4b3ada798 100644
|
||||
index 849b62c9976a7bc5fee35e074e54c8f556ed9c38..77708aec7c95bffa844596ba1adf1869c8583e73 100644
|
||||
--- a/widget/cocoa/VibrancyManager.mm
|
||||
+++ b/widget/cocoa/VibrancyManager.mm
|
||||
@@ -13,6 +13,7 @@
|
||||
@@ -35,3 +35,11 @@ index 849b62c9976a7bc5fee35e074e54c8f556ed9c38..92ddc9022055f518cb371d64e8e644c4
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,6 +105,7 @@ static void PrefChanged(const char* aPref, void* aClosure) {
|
||||
static constexpr nsLiteralCString kObservedPrefs[] = {
|
||||
"widget.macos.sidebar-blend-mode.behind-window"_ns,
|
||||
"widget.macos.titlebar-blend-mode.behind-window"_ns,
|
||||
+ "widget.macos.titlebar-blend-mode.behind-window"_ns,
|
||||
};
|
||||
|
||||
VibrancyManager::VibrancyManager(const nsChildView& aCoordinateConverter,
|
||||
|
Reference in New Issue
Block a user