From eb1626bb6bd597ab684070964f43e969b4ba2ba4 Mon Sep 17 00:00:00 2001 From: Massimo Valentini Date: Sat, 20 Sep 2014 14:39:18 +0200 Subject: [PATCH] fix overlapping-boxes.xlib.rgb24 --- src/cairo-traps-compositor.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cairo-traps-compositor.c b/src/cairo-traps-compositor.c index 9618e5d..94189f9 100644 --- a/src/cairo-traps-compositor.c +++ b/src/cairo-traps-compositor.c @@ -1732,6 +1732,7 @@ clip_and_composite_boxes (const cairo_traps_compositor_t *compositor, cairo_boxes_t *boxes) { cairo_int_status_t status; + unsigned int flags = 0; TRACE ((stderr, "%s\n", __FUNCTION__)); @@ -1794,9 +1795,12 @@ clip_and_composite_boxes (const cairo_traps_compositor_t *compositor, return status; } + if (! extents->is_bounded) + flags |= FORCE_CLIP_REGION; + return clip_and_composite (compositor, extents, composite_boxes, NULL, boxes, - need_unbounded_clip (extents)); + need_unbounded_clip (extents) | flags); } static cairo_int_status_t -- 1.9.3