[Xcb] no pointer to the available depths of a screen

Vincent Torri vtorri at univ-evry.fr
Sat Aug 28 04:00:00 PDT 2010



On Sat, 28 Aug 2010, Julien Cristau wrote:

> On Sat, Aug 28, 2010 at 05:48:52 +0200, Vincent Torri wrote:
>
>>
>> Hey,
>>
>> about depths, we can retrieve an iterator with
>> xcb_screen_allowed_depths_iterator() and the number of depths with
>> xcb_screen_allowed_depths_length(), but no pointer to the available
>> depths (contrary to other types). Is it normal ?
>>
> I don't think other variable-length fields get a pointer, only the
> fixed-length ones.  DEPTH is variable length as it includes a list of
> VISUALTYPEs (see page 115 of http://www.x.org/docs/XProtocol/proto.pdf).

thank you for the explanation

Vincent


More information about the Xcb mailing list