[RFC][PATCH 1/5] XResource extension v1.2 implementation of XResQueryClientIds

Peter Harris pharris at opentext.com
Fri Dec 3 07:27:01 PST 2010


On 2010-12-03 10:12, Rami Ylimäki wrote:
> On 12/03/2010 12:44 PM, Erkki Seppälä wrote:
>> From: Rami Ylimäki<rami.ylimaki at vincit.fi>
>> Reviewed-by: Erkki Seppala<erkki.seppala at vincit.fi>
> Let's preserve the previous Acked-by tag also.
>> +    XResQueryClientIds
>> +    num_specs:    CARD32
>> +    client_specs: LISTofCLIENTIDSPEC
>> +    â–¶
>> +    num_ids:      CARD32
>> +    client_ids:   LISTofCLIENTIDVALUE
>> +
>> +    Errors:       Value
> We have to add Alloc error to the list of possible errors, because the
> implementation may return BadAlloc.

Any request can return BadAlloc even if it's not on the error list, per
the spec:
http://cgit.freedesktop.org/xorg/proto/x11proto/tree/specs/sect1-9.xml#n666

Alloc is usually only specified in the error list of requests that are
likely to use lots of resources (eg CreatePixmap).

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the xorg-devel mailing list