ui: Make sure to invalidate the style on a retheme/redraw

This commit is contained in:
Jasper St. Pierre 2012-05-07 20:21:13 -03:00
parent 873da3405c
commit 1620131434

View File

@ -603,7 +603,10 @@ meta_ui_queue_frame_draw (MetaUI *ui,
Window xwindow)
{
MetaUIFrame *frame = meta_ui_lookup_window (ui, xwindow);
gtk_widget_queue_draw (GTK_WIDGET (frame));
GtkWidget *widget = GTK_WIDGET (frame);
/* Force a style update. */
gtk_style_context_invalidate (gtk_widget_get_style_context (widget));
gtk_widget_queue_draw (widget);
}
void