[Xcb] How to use xcb_icccm

Micah Nordland mpnordland at gmail.com
Mon Nov 26 09:54:22 PST 2012


Well, turns out that error wasn't a "Success". I was using
err->response_type, instead of err->error_code, so all those errors were
BadWindow errors. I don't know how though, as I get the windows from
CreateNotifys.


On Mon, Nov 26, 2012 at 5:15 AM, Micah Nordland <mpnordland at gmail.com>wrote:

> never mind about that error, I did a little work using
> xcb_event_get_error_label, and all those errors were returning Success, so
> I'm still doing something not quite right with the strings.
>
>
> On Mon, Nov 26, 2012 at 5:03 AM, Micah Nordland <mpnordland at gmail.com>wrote:
>
>> That reduces it to always nothing, but I think that this is not the
>> problem, I'm getting an error in my event loop every time I call this, so I
>> think I need to figure out how to use the checked functions. I am coming
>> from python, and this is a little harder than xpyb. for instance, can
>> anybody tell me why xcb_icccm_get_wm_name_reply requires a pointer to a
>> pointer to the error struct?
>>
>>
>> On Sun, Nov 25, 2012 at 7:35 AM, Christ-Jan Wijtmans <
>> cj.wijtmans at gmail.com> wrote:
>>
>>> You might be having issues with character encoding maybe? try printing
>>> it in unicode
>>>
>>
>>
>>
>> --
>> Praising my Savior all the day long,
>> Micah Nordland
>>
>>
>
>
> --
> Praising my Savior all the day long,
> Micah Nordland
>
>


-- 
Praising my Savior all the day long,
Micah Nordland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20121126/d21ab051/attachment.html>


More information about the Xcb mailing list