зеркало из https://github.com/mozilla/gecko-dev.git
Bug 352936 - Download manager window not focused properly when already open and using Do this automatically, patch by Adam Guthrie, r+sr=roc
This commit is contained in:
Родитель
d26cfa8f62
Коммит
dd78e2b9c0
|
@ -1402,7 +1402,7 @@ nsWindow::GetAttention(PRInt32 aCycleCount)
|
|||
GtkWidget* top_window = nsnull;
|
||||
GetToplevelWidget(&top_window);
|
||||
if (top_window && GTK_WIDGET_VISIBLE(top_window)) {
|
||||
gdk_window_show(top_window->window);
|
||||
gdk_window_show_unraised(top_window->window);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче