Reference

XUngrabDevice(3x) on Linux

The text 9d92543ab926, as Debian 3.0 (Woody) shipped it.

grab/release the specified extension device

XUngrabDevice(3x) on Linux now