зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1816436
- For webrtcIndicator use dialog everywhere. r=mconley
GTK will no longer draw a border and titlebar with titlebar=no. Differential Revision: https://phabricator.services.mozilla.com/D169782
This commit is contained in:
Родитель
2ce250df31
Коммит
2e22dd570a
|
@ -1003,12 +1003,7 @@ function getGlobalIndicator() {
|
|||
if (!webrtcUI.useLegacyGlobalIndicator) {
|
||||
const INDICATOR_CHROME_URI =
|
||||
"chrome://browser/content/webrtcIndicator.xhtml";
|
||||
let features = "chrome,titlebar=no,alwaysontop,minimizable=yes";
|
||||
|
||||
/* Don't use dialog on Gtk as it adds extra border and titlebar to indicator */
|
||||
if (!AppConstants.MOZ_WIDGET_GTK) {
|
||||
features += ",dialog=yes";
|
||||
}
|
||||
let features = "chrome,titlebar=no,alwaysontop,minimizable,dialog";
|
||||
|
||||
return Services.ww.openWindow(
|
||||
null,
|
||||
|
|
Загрузка…
Ссылка в новой задаче