Reference

XUngrabKey(3) on Linux

The text ece68314fe0e, as Debian 13 (Trixie) shipped it.

grab keyboard keys

XUngrabKey(3) on Linux now