Reference

XUngrabKey(3) on Linux

The text 870425ef0f27, as Debian 9 (Stretch) shipped it.

grab keyboard keys

XUngrabKey(3) on Linux now