Reference

XUngrabKeyboard(3x) on Linux

The text 03b39e07db82, as Debian 3.0 (Woody) shipped it.

grab the keyboard

XUngrabKeyboard(3x) on Linux now