зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1233073
- Disable fullscreen transition on Linux. r=karlt
MozReview-Commit-ID: 5iP3vjRDlur --HG-- extra : rebase_source : 8c47ef69ae835eeaf494512e79c5b133dd131bd7
This commit is contained in:
Родитель
33a9406aea
Коммит
bfc4e74453
|
@ -4697,8 +4697,13 @@ pref("full-screen-api.unprefix.enabled", true);
|
|||
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);
|
||||
// time for the warning box stays on the screen before sliding out, unit: ms
|
||||
|
|
Загрузка…
Ссылка в новой задаче