summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLeorize <alaviss@users.noreply.github.com>2018-09-24 08:26:53 +0700
committerLeorize <alaviss@users.noreply.github.com>2018-09-25 14:55:50 +0700
commit1c159bf4dc4885e85bcff4099168a35b18848a92 (patch)
tree96cc27412e2883d5fddeb10498eb0f693c22b0a1 /modules
parent8d3931df24d84194bbab474f6618e63eb4fd603b (diff)
downloaduxp-1c159bf4dc4885e85bcff4099168a35b18848a92.tar.gz
gfx: add pref for enabling APZ without e10s
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 0ec5f15961..49795d0e36 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -705,6 +705,10 @@ pref("apz.y_skate_size_multiplier", "1.5");
pref("apz.y_stationary_size_multiplier", "1.5");
#endif
+#if !defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_WIDGET_UIKIT)
+pref("apz.desktop.enabled", false);
+#endif
+
#ifdef XP_MACOSX
// Whether to run in native HiDPI mode on machines with "Retina"/HiDPI display;
// <= 0 : hidpi mode disabled, display will just use pixel-based upscaling