If there is an event waiting in the event queue of some open display, returns a copy of it.
See peek_event.
a copy of the first Event on some event queue, or null if no events are in any queues. The returned Event should be freed with free. |