[Xcb] missing xcb_setup_roots function ?

Vincent Torri vtorri at univ-evry.fr
Fri Nov 10 02:07:03 PST 2006



On Fri, 10 Nov 2006, Jamey Sharp wrote:

> On Fri, Nov 10, 2006 at 08:10:57AM +0100, Vincent Torri wrote:

>> 2) there's 2 functions:
>>       xcb_list_properties_atoms_length
>> and
>>       xcb_list_properties_atoms
>> and for me, the first returns the number of *bytes* used by all the atoms,
>
> Are you *sure*? The list length given in the XML description of
> ListProperties says xcb_list_properties_atoms_length should return
> exactly the same value as reply->atoms_len, unless I'm completely
> forgetting how this works.

according to xproto.c :

int
xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R)
{
     return R->atoms_len;
}

so I was wrong.

> GetProperty is different though, and might be why you're confused. ...

I think you're right.

>
> I *think* your code is wrong and buggy.

indeed. Well, i didn't use it much, except for GetProperty request.

I'm sorry to have alarmed you.

thank you

Vincent


More information about the Xcb mailing list