Reference

XIGetFocus(3) on Linux

The text e6e39e5fcdf9, as Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie) shipped it.

set or get the device's focus.

XIGetFocus(3) on Linux now