forked from AuroraMiddleware/gtk
themingengine: set the cairo extend to PAD when we're stretching bg
This avoids artifacts around the borders due to bilinear filtering cairo applies to the surface pattern when stretching it. https://bugzilla.gnome.org/show_bug.cgi?id=663522
This commit is contained in:
parent
3b436eec6d
commit
f9d16f3923
@ -1622,6 +1622,7 @@ render_background_internal (GtkThemingEngine *engine,
|
||||
}
|
||||
else
|
||||
{
|
||||
cairo_pattern_set_extend (pattern, CAIRO_EXTEND_PAD);
|
||||
scale_width = width;
|
||||
scale_height = height;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user