[Xcb] XNextEvent

Jamey Sharp jamey at minilop.net
Tue Jun 14 23:40:50 PDT 2005


On Tue, 2005-06-14 at 08:50 +0200, Vincent Torri wrote:
> Hello,

Hi Vincent!

> now, I need something like XNextEvent. The code in xcl is too old. Does
> someone has an idea on how to implelment it ?

You should find that

        XCBFlush(c);
        event = XCBWaitEvent(c);

is sufficient. I don't see any other hidden semantics in XNextEvent.
Just remember that XCBWaitEvent can return X errors too.

--Jamey



More information about the xcb mailing list