michael@0: Fix a clip test to test the right coordinate. michael@0: michael@0: Fixed upstream by 498c10032ea3f8631a928cd7df96766f2c8ddca4 michael@0: diff --git a/gfx/cairo/cairo/src/cairo-clip.c b/gfx/cairo/cairo/src/cairo-clip.c michael@0: --- a/gfx/cairo/cairo/src/cairo-clip.c michael@0: +++ b/gfx/cairo/cairo/src/cairo-clip.c michael@0: @@ -408,7 +408,7 @@ _cairo_clip_rectangle (cairo_clip_t michael@0: /* if a smaller clip has already been set, ignore the new path */ michael@0: if (clip->path != NULL) { michael@0: if (rectangle->x <= clip->path->extents.x && michael@0: - rectangle->y <= clip->path->extents.x && michael@0: + rectangle->y <= clip->path->extents.y && michael@0: rectangle->x + rectangle->width >= clip->path->extents.x + clip->path->extents.width && michael@0: rectangle->y + rectangle->height >= clip->path->extents.y + clip->path->extents.height) michael@0: {