[balsa] Disable accelerated compositing in webkit2
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] Disable accelerated compositing in webkit2
- Date: Sun, 20 Nov 2016 16:01:58 +0000 (UTC)
commit 16cb33197dee300e9f8cd4eddcd2f65e3d0cd31c
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Nov 20 11:01:24 2016 -0500
Disable accelerated compositing in webkit2
Disable accelerated compositing in webkit2, to avoid some gdk
warnings; see thread at
https://lists.webkit.org/pipermail/webkit-gtk/2016-November/002863.html
* src/main.c (main): set WEBKIT_DISABLE_COMPOSITING_MODE
environment variable.
ChangeLog | 9 +++++++++
src/main.c | 6 ++++++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 69e291b..0538513 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2016-11-20 Peter Bloomfield <pbloomfield bellsouth net>
+ Disable accelerated compositing in webkit2, to avoid some gdk
+ warnings; see thread at
+ https://lists.webkit.org/pipermail/webkit-gtk/2016-November/002863.html
+
+ * src/main.c (main): set WEBKIT_DISABLE_COMPOSITING_MODE
+ environment variable.
+
+2016-11-20 Peter Bloomfield <pbloomfield bellsouth net>
+
Save the main window state more carefully
* src/main-window.c (bw_window_state_event_cb): note when the
diff --git a/src/main.c b/src/main.c
index e0b8a89..adf90ac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -827,6 +827,12 @@ main(int argc, char **argv)
GtkApplication *application;
int status;
+# if defined(USE_WEBKIT2)
+ /* temporary fix to avoid some webkit warnings, if the user has not
+ * set it: */
+ g_setenv("WEBKIT_DISABLE_COMPOSITING_MODE", "1", FALSE);
+#endif /* defined(USE_WEBKIT2) */
+
balsa_app.application = application =
gtk_application_new("org.desktop.Balsa",
G_APPLICATION_HANDLES_COMMAND_LINE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]