[xcb] XCB polling and single-threadedness

Andy Howe xcb@nickle.org
Sat, 6 Jul 2002 18:58:30 -0700


XCBGenericEvent *XCBPollEvent(XCBConnection *c);

If there are any events currently in the queue, the first event is
returned. Otherwise, a null pointer is returned. Basicly, it works the
same as XCBWaitEvent() except it returns null instead of waiting for an
event if there is not one currently in the queue.


---Andy Howe