[Xcb] XNextEvent
Vincent Torri
Vincent.Torri at iecn.u-nancy.fr
Tue Jun 14 23:48:54 PDT 2005
>
> > 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.
Thank you ! So, to handle erros, should I use XCBPollForEvent instead ?
And, do you have some ideas for XPending ? I think it's the last thing
that i have to translate for the ecore event loop.
Thank you
Vincent
More information about the xcb
mailing list