XPutBackEvent() XPutBackEvent()
Name
XPutBackEvent - push an event back on the input queue.
Synopsis
XPutBackEvent(display, event)
Display *display;
XEvent *event;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
event Specifies 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 - Input Handling XPutBackEvent()