зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1820203 - Don't consider dialogs with BorderStyle::{Default,All} as undecorated. r=stransky
Bug 1794577 made this visible but the bug was really introduced in
bug 1816436
.
Differential Revision: https://phabricator.services.mozilla.com/D173428
This commit is contained in:
Родитель
deb5792960
Коммит
e40e19b677
|
@ -8760,6 +8760,8 @@ bool nsWindow::IsAlwaysUndecoratedWindow() const {
|
|||
return true;
|
||||
}
|
||||
if (mWindowType == WindowType::Dialog &&
|
||||
mBorderStyle != BorderStyle::Default &&
|
||||
mBorderStyle != BorderStyle::All &&
|
||||
!(mBorderStyle & BorderStyle::Title) &&
|
||||
!(mBorderStyle & BorderStyle::ResizeH)) {
|
||||
return true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче