summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-30 00:51:38 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-30 13:36:59 (EDT)
commit80c0a969d0065b722f8cf1f76ae004e385c13641 (patch)
treeed551fce8a214a4423575b80accb542150365841
parent83e59a7394c6d19dda20f9d31d4e08ddadca11dc (diff)
downloadmarquee-80c0a969d0065b722f8cf1f76ae004e385c13641.zip
marquee-80c0a969d0065b722f8cf1f76ae004e385c13641.tar.gz
marquee-80c0a969d0065b722f8cf1f76ae004e385c13641.tar.bz2
mq_application_new(): Set WebKit process model
-rw-r--r--src/application.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c
index 9ae8448..f3061a3 100644
--- a/src/application.c
+++ b/src/application.c
@@ -40,6 +40,8 @@ mq_application_new(gchar __attribute__((unused)) *profile,
web_context = webkit_web_context_get_default();
webkit_web_context_set_favicon_database_directory(web_context, NULL);
+ webkit_web_context_set_process_model(web_context,
+ WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES);
webkit_web_context_register_uri_scheme(web_context, "mq-about",
(WebKitURISchemeRequestCallback) mq_about_request, application,
NULL);