NAME
XPutBackEvent — push an event back on the input queue.
SYNOPSIS
XPutBackEvent(display, event) Display ∗display; XEvent ∗event;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
eventSpecifies a pointer to the event to be requeued.
DESCRIPTION
XPutBackEvent() pushes an event back onto the head of the current display’s input queue (so that it would become the one returned by the next XNextEvent() call). This can be useful if you have read an event and then decide that you’d rather deal with it later. There is no limit to how many times you can call XPutBackEvent() in succession.
For more information, see Volume One, Chapter 8, Events.
SEE ALSO
XQLength(), XAllowEvents(), XCheckIfEvent(), XCheckMaskEvent(), XCheckTypedEvent(), XCheckTypedWindowEvent(), XCheckWindowEvent(), XEventsQueued(), XGetInputFocus(), XGetMotionEvents(), XIfEvent(), XMaskEvent(), XNextEvent(), XPeekEvent(), XPeekIfEvent(), XPending(), XSelectInput(), XSendEvent(), XSetInputFocus(), XSynchronize(), XWindowEvent().
Xlib Reference Manual