mirror of
https://github.com/brl/mutter.git
synced 2025-02-21 07:24:09 +00:00
ui: Make sure to invalidate the style on a retheme/redraw
This commit is contained in:
parent
873da3405c
commit
1620131434
@ -603,7 +603,10 @@ meta_ui_queue_frame_draw (MetaUI *ui,
|
|||||||
Window xwindow)
|
Window xwindow)
|
||||||
{
|
{
|
||||||
MetaUIFrame *frame = meta_ui_lookup_window (ui, 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
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user