Reference

XtPending(3) on Linux

The text 214423d8f43b, as Debian 10 (Buster), Debian 9 (Stretch) shipped it.

query and process events and input

XtPending(3) on Linux now