diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-24 23:12:55 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-24 23:12:55 +0200 |
commit | acd4eee44eb04fe01b0063818b492390f463ccec (patch) | |
tree | a364704762dc98aa1e43fd13eab281adf442dea3 /modules/libpref | |
parent | f7edee79a1ccbb94d0ef61ad392d764a600fd5a8 (diff) | |
download | UXP-acd4eee44eb04fe01b0063818b492390f463ccec.tar UXP-acd4eee44eb04fe01b0063818b492390f463ccec.tar.gz UXP-acd4eee44eb04fe01b0063818b492390f463ccec.tar.lz UXP-acd4eee44eb04fe01b0063818b492390f463ccec.tar.xz UXP-acd4eee44eb04fe01b0063818b492390f463ccec.zip |
Tweak fullscreen API
Diffstat (limited to 'modules/libpref')
-rw-r--r-- | modules/libpref/init/all.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index f2f628324..903665ff8 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4753,23 +4753,16 @@ pref("alerts.showFavicons", false); // DOM full-screen API. pref("full-screen-api.enabled", false); -#ifdef RELEASE_OR_BETA -pref("full-screen-api.unprefix.enabled", false); -#else pref("full-screen-api.unprefix.enabled", true); -#endif pref("full-screen-api.allow-trusted-requests-only", true); pref("full-screen-api.pointer-lock.enabled", true); + // transition duration of fade-to-black and fade-from-black, unit: ms -#ifndef MOZ_WIDGET_GTK -pref("full-screen-api.transition-duration.enter", "200 200"); -pref("full-screen-api.transition-duration.leave", "200 200"); -#else pref("full-screen-api.transition-duration.enter", "0 0"); pref("full-screen-api.transition-duration.leave", "0 0"); -#endif + // timeout for black screen in fullscreen transition, unit: ms -pref("full-screen-api.transition.timeout", 1000); +pref("full-screen-api.transition.timeout", 500); // time for the warning box stays on the screen before sliding out, unit: ms pref("full-screen-api.warning.timeout", 3000); // delay for the warning box to show when pointer stays on the top, unit: ms |