зеркало из https://github.com/mozilla/gecko-dev.git
b=808873 restore null check on gFocusWindow accidentally dropped in dfe49308dc99 r=trivial
--HG-- extra : transplant_source : n5S%82%B8n%18h%FD%86%A4%D9%19%96%D1%29%20%02%0D%CE
This commit is contained in:
Родитель
0d34d26418
Коммит
05be6d2bcf
|
@ -1874,7 +1874,7 @@ nsWindow::GetAttention(int32_t aCycleCount)
|
|||
|
||||
GtkWidget* top_window = GetToplevelWidget();
|
||||
GtkWidget* top_focused_window =
|
||||
gFocusWindow->GetToplevelWidget();
|
||||
gFocusWindow ? gFocusWindow->GetToplevelWidget() : nullptr;
|
||||
|
||||
// Don't get attention if the window is focused anyway.
|
||||
if (top_window && (gtk_widget_get_visible(top_window)) &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче