[Xcb] Event queue
Michele Comignano
comick at autistici.org
Mon Aug 3 01:24:20 PDT 2009
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 :)).
Anyway: an event queue is a good tool, and I want to know if could be an
useful contribution to xcb-util.
--
Michele Comignano (comick)
Jabber: comick at autistici.org
Web: http://comick.playlinux.net
More information about the Xcb
mailing list