On Thu, 18 Nov 2010 14:42:20 +0200, Pauli <ext-pauli.niemi...@nokia.com> wrote:

> To fix the problem XShapeGetRectangles has to check if there is no
> rectangles in region and return sane values instead of no rectangles.

This is a bug in the shape library, not the server. If you read the
shape protocol document, it explicitly says that the empty region should
be sent as zero rectangles, not a single empty rectangle, and so we
should infer that an empty region will be reported as zero rectangles
and not a single empty rectangle.

-- 
keith.pack...@intel.com

Attachment: pgpcv6krxchmL.pgp
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to