mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
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:
parent
d26cfa8f62
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user