[Xcb] Event queue

Julien Danjou julien at danjou.info
Tue Aug 4 23:22:32 PDT 2009

At 1249287860 time_t, Michele Comignano wrote:
> During a my own project I needed to abstract xcb event handling adding event 
> queue management. It has operations to push an event handler for a specific 
> event type and remove them. After an event handlers are executed in order if 
> any.  To do this I'm now using a default handler that in case of empty queue 
> prints debug information or elsewhere execute the handlers in order.
> I don't like how xcb-event behave now since make the program segfault when an 
> event is not managed and I think this is not a good default behavior (may be 
> I'm wrong, if so tell me why :)).

Well, we use it for awesome and did not notice that at least. Any
pointer would help to fix that.

> Anyway: an event queue is a good tool, and I want to know if could be an 
> useful contribution to xcb-util.


Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Don't give up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20090805/9a6b4796/attachment.pgp 

More information about the Xcb mailing list