]> Pileus Git - ~andy/gtk/commit
themingbackground: fix drawing for repeating positioned images
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 30 May 2012 15:56:09 +0000 (11:56 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 30 May 2012 16:16:11 +0000 (12:16 -0400)
commit65166c36b91bf990d476e63060065486b73940e2
treedd915ea68098d4e960c3c82c5fd2891fb009484f
parentbce34d80d40c16190cd4581141df2b58d3fe083d
themingbackground: fix drawing for repeating positioned images

When we determine the fill rectangle for an image layer, and the image
is not repeating, we should also position the rectangle according to the
values of background-position, or we will always fill a tiny slice at
the top/left of the clip box.

https://bugzilla.gnome.org/show_bug.cgi?id=677109
gtk/gtkthemingbackground.c