Reference

XtScreenOfObject(3) on Linux

The text 55501daeb0a5, as Debian 8 (Jessie) shipped it.

obtain window information about a widget

XtScreenOfObject(3) on Linux now