Reference

XUngrabKey(3) on Linux

The text cf5d232749ad, as Debian 7 (Wheezy) shipped it.

grab keyboard keys

XUngrabKey(3) on Linux now