From 34d45def3707ee34e08235ab6ff4010483086d77 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 8 Nov 2016 02:15:43 +0100 Subject: [PATCH] render: Clip the correct rectangle We translated before. --- gtk/gtkrenderbackground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkrenderbackground.c b/gtk/gtkrenderbackground.c index b41d3a5876..e691bfcbb8 100644 --- a/gtk/gtkrenderbackground.c +++ b/gtk/gtkrenderbackground.c @@ -387,7 +387,7 @@ gtk_css_style_render_background (GtkCssStyle *style, if (needs_push_group) { cairo_save (cr); - cairo_rectangle (cr, x, y, width, height); + cairo_rectangle (cr, 0, 0, width, height); cairo_clip (cr); cairo_push_group (cr); }