Updated proxy cache

This commit is contained in:
Martin Stransky 2024-01-02 15:08:13 +01:00
parent 6b33407501
commit 55e1497866

View File

@ -1,29 +0,0 @@
diff --git a/toolkit/moz.configure b/toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -532,10 +532,24 @@
set_config("MOZ_WAYLAND", depends_if(wayland_headers)(lambda _: True))
set_define("MOZ_WAYLAND", depends_if(wayland_headers)(lambda _: True))
+# Wayland proxy is used as load balancer between Firefox and Wayland
+# compositor.
+# ==============================================================
+option("--disable-wayland-proxy", help="Disable Wayland load balancer")
+
+
+@depends("--enable-wayland-proxy", when=toolkit_gtk_wayland)
+def wayland_proxy(value):
+ if value:
+ return True
+
+
+set_config("MOZ_WAYLAND_PROXY", wayland_proxy)
+set_define("MOZ_WAYLAND_PROXY", wayland_proxy)
# Hardware-accelerated video decode with VAAPI and V4L2 on Linux
# ==============================================================
set_config("MOZ_ENABLE_VAAPI", True, when=toolkit_gtk)
set_define("MOZ_ENABLE_VAAPI", True, when=toolkit_gtk)