Blame SOURCES/evolution-shared-secondary-process.patch

b32f37
From ffe84688fc8a91b1e6d1c4462120fc44349a7c05 Mon Sep 17 00:00:00 2001
b32f37
From: Michael Catanzaro <mcatanzaro@redhat.com>
b32f37
Date: Thu, 27 Oct 2022 19:12:43 -0500
b32f37
Subject: [PATCH] Force Evolution to use single secondary process
b32f37
b32f37
---
b32f37
 Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp | 3 +++
b32f37
 1 file changed, 3 insertions(+)
b32f37
69b638
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
b32f37
index 6bb6767869af..2a05a69d9b0d 100644
69b638
--- a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
69b638
+++ b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
b32f37
@@ -431,6 +431,9 @@ static void webkitWebContextConstructed(GObject* object)
062c53
     }
b32f37
     configuration.setTimeZoneOverride(String::fromUTF8(priv->timeZoneOverride.data(), priv->timeZoneOverride.length()));
07fe0f
 
07fe0f
+    if (!g_strcmp0(g_get_prgname(), "evolution"))
07fe0f
+        configuration.setUsesSingleWebProcess(true);
07fe0f
+
07fe0f
     if (!priv->websiteDataManager)
07fe0f
         priv->websiteDataManager = adoptGRef(webkit_website_data_manager_new("local-storage-directory", priv->localStorageDirectory.data(), nullptr));
07fe0f
 
b32f37
-- 
b32f37
2.31.1
b32f37