render: Clip the correct rectangle

We translated before.
This commit is contained in:
Benjamin Otte 2016-11-08 02:15:43 +01:00
parent 11a4dcba77
commit 34d45def37

View File

@ -387,7 +387,7 @@ gtk_css_style_render_background (GtkCssStyle *style,
if (needs_push_group) if (needs_push_group)
{ {
cairo_save (cr); cairo_save (cr);
cairo_rectangle (cr, x, y, width, height); cairo_rectangle (cr, 0, 0, width, height);
cairo_clip (cr); cairo_clip (cr);
cairo_push_group (cr); cairo_push_group (cr);
} }