[Xcb] Qlength like in xcb

Michele Comignano comick at autistici.org
Wed Jan 6 11:54:14 PST 2010


On Saturday 02 January 2010 14:40:49 Peter Harris wrote:
> On Sat, Jan 2, 2010 at 6:25 AM, Michele Comignano wrote:
> > Maybe I miss something, but a solution could be a xcb_poll_event like
> > function than returns XCB_NONE in case of empty queue.
> 
> xcb_poll_for_event returns NULL when the queue is empty. Is that what
> you are looking for?

Yes it is. I misread the docs.

> 
> Peter Harris
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
> 

-- 
Michele Comignano (comick)
Jabber: comick at autistici.org
Web: http://comick.playlinux.net


More information about the Xcb mailing list