mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 18:31:09 +00:00
window: Don't queue an allocate if the css clip changes
clips don't exist anymore.
This commit is contained in:
parent
5386cf89f2
commit
960717b273
@ -1645,7 +1645,7 @@ node_style_changed_cb (GtkCssNode *node,
|
|||||||
GtkCssStyleChange *change,
|
GtkCssStyleChange *change,
|
||||||
GtkWidget *widget)
|
GtkWidget *widget)
|
||||||
{
|
{
|
||||||
if (gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_SIZE | GTK_CSS_AFFECTS_CLIP))
|
if (gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_SIZE))
|
||||||
gtk_widget_queue_resize (widget);
|
gtk_widget_queue_resize (widget);
|
||||||
else
|
else
|
||||||
gtk_widget_queue_draw (widget);
|
gtk_widget_queue_draw (widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user