freebsd-ports/mail/thunderbird/files/patch-modules-libpref-init-all.js
Jan Beich 79fd5d2214 mail/thunderbird: update to 45.0 (rc1)
Changes:	https://www.mozilla.org/thunderbird/45.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-12 19:18:55 +00:00

15 lines
655 B
JavaScript

--- mozilla/modules/libpref/init/all.js.orig 2015-08-06 22:39:34 UTC
+++ mozilla/modules/libpref/init/all.js
@@ -4052,7 +4052,12 @@ pref("layers.max-active", -1);
pref("layers.tiles.adjust", true);
// Set the default values, and then override per-platform as needed
+#ifdef MOZ_TREE_CAIRO
pref("layers.offmainthreadcomposition.enabled", true);
+#else
+// Disable for system cairo on suspicion of causing random crashes
+pref("layers.offmainthreadcomposition.enabled", false);
+#endif
// Compositor target frame rate. NOTE: If vsync is enabled the compositor
// frame rate will still be capped.
// -1 -> default (match layout.frame_rate or 60 FPS)