Reference

XIGetFocus(3) on Linux

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

set or get the device's focus.

XIGetFocus(3) on Linux now