Reference

XUngrabDeviceButton(3) on Linux

The text 04113e5c5a61, as Debian 6.0 (Squeeze) shipped it.

grab/ungrab extension input device buttons

XUngrabDeviceButton(3) on Linux now