firefox: disable off main thread rendering. fixes #2308.

This commit is contained in:
Enno Boland 2015-08-21 13:40:51 +02:00
parent dfc84caf83
commit f27d391438

View file

@ -1,7 +1,7 @@
# Template build file for 'firefox'.
pkgname=firefox
version=40.0.2
revision=1
revision=2
wrksrc="mozilla-release"
short_desc="Lightweight gecko-based web browser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -114,4 +114,7 @@ do_install() {
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
ln -sf firefox ${DESTDIR}/usr/lib/firefox/firefox-bin
echo '// https://github.com/voidlinux/void-packages/issues/2308' >> $DESTDIR/usr/lib/firefox/browser/defaults/preferences/vendor.js
echo 'pref("layers.offmainthreadcomposition.enabled", false);' >> $DESTDIR/usr/lib/firefox/browser/defaults/preferences/vendor.js
}