mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
st-theme-node: Don't update resources on each paint
Up to commit 318283fc70, resources were only updated when
the allocated size had changed. There is no good reason to change
this for theme nodes without box shadows.
https://bugzilla.gnome.org/show_bug.cgi?id=703909
This commit is contained in:
parent
53d268a7ef
commit
f9b32474b0
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue