Reference

XIUngrabDevice(3) on Linux

The text 99a3edc77cdc, as Debian 12 (Bookworm) shipped it.

grab or ungrab the device.

XIUngrabDevice(3) on Linux now