[Xcb] missing xcb_setup_roots function ?

Josh Triplett josh at freedesktop.org
Thu Nov 9 00:58:27 PST 2006


Vincent Torri wrote:
> Hey,
> 
> I'm just wondering why there is no xcb_setup_roots function. Indeed, there 
> are xcb_setup_roots_length and xcb_setup_roots_iterator functions, but no 
> function that points to the screens (at least, in my generated xproto.h)
> 
> Is it normal ?

Yes.  A screen does not have a fixed size due to the allowed_depths list, so
you can't treat it like an array; you need to use an iterator.

- Josh Triplett


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20061109/29cf83e2/signature.pgp


More information about the Xcb mailing list