diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c index 438802993..1a2cea316 100644 --- a/src/st/st-theme-node-drawing.c +++ b/src/st/st-theme-node-drawing.c @@ -2397,7 +2397,7 @@ st_theme_node_paint (StThemeNode *node, node->rendered_once = TRUE; } - else + else if (state->alloc_width != width || state->alloc_height != height) st_theme_node_update_resources (state, node, width, height); /* Rough notes about the relationship of borders and backgrounds in CSS3;