window: Don't queue an allocate if the css clip changes

clips don't exist anymore.
This commit is contained in:
Timm Bäder 2018-07-15 17:42:56 +02:00
parent 5386cf89f2
commit 960717b273

View File

@ -1645,7 +1645,7 @@ node_style_changed_cb (GtkCssNode *node,
GtkCssStyleChange *change,
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);
else
gtk_widget_queue_draw (widget);