зеркало из https://github.com/mozilla/pjs.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:
Родитель
e00d8c4fb4
Коммит
cbb97d3c3d
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче