DOKK / manpages / debian 12 / libx11-doc / XPutBackEvent.3.en
XPutBackEvent(3) XLIB FUNCTIONS XPutBackEvent(3)

XPutBackEvent - put events back on the queue

XPutBackEvent(Display *display, XEvent *event);

Specifies the connection to the X server.
Specifies the event.

The XPutBackEvent function pushes an event back onto the head of the display's event queue by copying the event into the queue. This can be useful if you read an event and then decide that you would rather deal with it later. There is no limit to the number of times in succession that you can call XPutBackEvent.

XAnyEvent(3), XIfEvent(3), XNextEvent(3), XSendEvent(3)
Xlib - C Language X Interface

libX11 1.8.4 X Version 11