Reference

XtPending(3) on Linux

The text f87dbf464573, as Debian 13 (Trixie), Debian 12 (Bookworm) shipped it.

query and process events and input

XtPending(3) on Linux now