region_bounds_intersects mistakingly ignored one of the input regions, and compared the other region to itself. --- common/region.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/region.c b/common/region.c index cd9ade0..14a27ed 100644 --- a/common/region.c +++ b/common/region.c @@ -420,7 +420,7 @@ int region_bounds_intersects(const QRegion *rgn1, const QRegion *rgn2) pixman_box32_t *extents1, *extents2; extents1 = pixman_region32_extents((pixman_region32_t *)rgn1); - extents2 = pixman_region32_extents((pixman_region32_t *)rgn1); + extents2 = pixman_region32_extents((pixman_region32_t *)rgn2); return EXTENTCHECK(extents1, extents2); } -- 1.8.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel