summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init/all.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-08-24 13:21:17 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-08-24 13:21:17 +0200
commit74c6c585ab519e3314bdf6b0fa23d8aa757b78a5 (patch)
treef9a7b8706668b5f587fe6191520cb61f313c487a /modules/libpref/init/all.js
parentb4343ea955abe66133bcb3562727908031c23dea (diff)
downloadUXP-74c6c585ab519e3314bdf6b0fa23d8aa757b78a5.tar
UXP-74c6c585ab519e3314bdf6b0fa23d8aa757b78a5.tar.gz
UXP-74c6c585ab519e3314bdf6b0fa23d8aa757b78a5.tar.lz
UXP-74c6c585ab519e3314bdf6b0fa23d8aa757b78a5.tar.xz
UXP-74c6c585ab519e3314bdf6b0fa23d8aa757b78a5.zip
Introduce ui.menu.allow_content_scroll
When true, overrides the OS convention to prevent scrolling of content when contextual menus are open. This resolves #730.
Diffstat (limited to 'modules/libpref/init/all.js')
-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 a3daae59e..1eee30210 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2209,6 +2209,10 @@ pref("ui.key.contentAccess", 5);
pref("ui.key.menuAccessKeyFocuses", false); // overridden below
pref("ui.key.saveLink.shift", true); // true = shift, false = meta
+// When true, overrides OS convention to lock content scrolling
+// if a contextual menu is open.
+pref("ui.menu.allow_content_scroll", false);
+
// Disable page loading activity cursor by default.
pref("ui.use_activity_cursor", false);