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

Julien Cristau jcristau at debian.org
Sat Aug 28 02:19:00 PDT 2010


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).

Cheers,
Julien


More information about the Xcb mailing list