Reference

XIUngrabKeycode(3) on Linux

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

grab/ungrab buttons or keys

XIUngrabKeycode(3) on Linux now