Reference

XMaskEvent(3x) on Linux

The text 5376b79f5031, as Debian 1.2 (Rex) shipped it.

select events by type

XMaskEvent(3x) on Linux now