11.4.1 Returning the Next Event
To get the next event and remove it from the queue, use
XNextEvent()
.
To peek at the event queue, use
XPeekEvent()
.
Next:
Selecting Events Using a Predicate Procedure
Christophe Tronche
,
ch@tronche.com