Reference

XGetDeviceFocus(3) on Linux

The text 5ac3d8779107, as Debian 4.0 (Etch) shipped it.

control extension input device focus

XGetDeviceFocus(3) on Linux now