diff --git a/src/ui/ui.c b/src/ui/ui.c index 86416f0ce..26c87b777 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -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