зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1403432: Show window titles when the inspector is launched in windowed mode. r=mstange
This commit is contained in:
Родитель
5984c151ad
Коммит
eee52e5492
|
@ -2378,7 +2378,13 @@ nsCocoaWindow::SetDrawsTitle(bool aDrawTitle)
|
|||
{
|
||||
NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
|
||||
|
||||
if (![mWindow drawsContentsIntoWindowFrame]) {
|
||||
// If we don't draw into the window frame, we always want to display window
|
||||
// titles.
|
||||
[mWindow setWantsTitleDrawn:YES];
|
||||
} else {
|
||||
[mWindow setWantsTitleDrawn:aDrawTitle];
|
||||
}
|
||||
|
||||
NS_OBJC_END_TRY_ABORT_BLOCK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче