Reference

XtScreenOfObject(3x) on Linux

The text cafcd41cac80, as Debian 1.1 (Buzz) shipped it.

obtain window information about a widget

XtScreenOfObject(3x) on Linux now