[PATCH] shape: Report empty region correctly
keithp at keithp.com
Mon Jan 9 12:08:14 PST 2012
On Thu, 18 Nov 2010 14:42:20 +0200, Pauli <ext-pauli.nieminen at 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.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the xorg-devel