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

Unified Diff: views/widget/widget_gtk.cc

Issue 6691065: Added SchedulePaint in WidgetGtk::ActiveWindowChanged (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Calling SchedulePaint in WidgetGtk::ActiveWindowChanged Created 9 years, 8 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: views/widget/widget_gtk.cc
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc
index 9de4fa13b748dff7ad579572976c27dcba3abad3..05f00dc9abcd7e63e4e3a5885a3a74c53ffe3991 100644
--- a/views/widget/widget_gtk.cc
+++ b/views/widget/widget_gtk.cc
@@ -474,8 +474,10 @@ void WidgetGtk::ActiveWindowChanged(GdkWindow* active_window) {
gtk_window_get_transient_for(GTK_WINDOW(widget)) == GTK_WINDOW(
widget_));
}
- if (was_active != IsActive())
+ if (was_active != IsActive()) {
IsActiveChanged();
+ GetRootView()->SchedulePaint();
+ }
}
////////////////////////////////////////////////////////////////////////////////
« 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