Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3928)

Unified Diff: chrome/browser/gtk/browser_window_gtk.cc

Issue 160149: Gtk: gtk_window_present when an already-showing browser window is showing and... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_window_gtk.cc
===================================================================
--- chrome/browser/gtk/browser_window_gtk.cc (revision 21630)
+++ chrome/browser/gtk/browser_window_gtk.cc (working copy)
@@ -513,7 +513,8 @@
}
#endif
- gtk_widget_show(GTK_WIDGET(window_));
+ // If we are not already visible, this will just show the window.
+ gtk_window_present(window_);
}
void BrowserWindowGtk::SetBounds(const gfx::Rect& bounds) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698