Reference

XUngrabDeviceButton(3) on Linux

The text ab5ce4a36e60, as Debian 11 (Bullseye) shipped it.

grab/ungrab extension input device buttons

XUngrabDeviceButton(3) on Linux now