From 5237b2aa65a2fa80a58cdb95052c158b183ddce7 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 18 Jul 2011 16:41:31 -0400 Subject: [PATCH] Fix dump_region --- src/compositor/meta-window-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 090f31fd1..acf09e15a 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -1768,7 +1768,7 @@ dump_region (cairo_region_t *region) for (i = 0; i < n_rects; i++) { cairo_rectangle_int_t rect; - cairo_region_get_rectangle (region, &rect); + cairo_region_get_rectangle (region, i, &rect); g_print ("+%d+%dx%dx%d ", rect.x, rect.y, rect.width, rect.height); }