[PATCH libX11] include: Add GetReqSized() for request buffers of specific size

Chase Douglas chase.douglas at canonical.com
Fri Oct 14 09:11:29 PDT 2011

On 10/13/2011 10:17 PM, Peter Hutterer wrote:
> Some XI2 requests change in size over different versions and libXi would
> need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the
> library can explicitly specify the size of the request in 4-byte units.
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Yes, this will help with XIAllowEvents in XI 2.2.

Reviewed-by: Chase Douglas <chase.douglas at canonical.com>

More information about the xorg-devel mailing list