summaryrefslogtreecommitdiff
path: root/src/compositor/compositor-xrender.c
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2013-11-15 17:37:50 -0500
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-04-13 16:07:20 +0300
commit3c6e269ba39c3dac99a38301fa9b799c3c202043 (patch)
tree46bf2efda8f0ad4898855ac7bbbe4e1dab08b449 /src/compositor/compositor-xrender.c
parent071d43f0bf332f7ae144ebda4453a8c88dc9bd41 (diff)
downloadmetacity-3c6e269ba39c3dac99a38301fa9b799c3c202043.tar.gz
frame: cache borders
Cache the computed border size so we can fetch the border size at any time without worrying that we'll be spending too much time in the theme code (in some cases we might allocate a PangoFontDescription or do other significant work.) The main effort here is clearing the cache when various bits of window state change that could potentially affect the computed borders. https://bugzilla.gnome.org/show_bug.cgi?id=707194
Diffstat (limited to 'src/compositor/compositor-xrender.c')
0 files changed, 0 insertions, 0 deletions