Reference

XGetTransientForHint(3x) on Linux

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

set or read a window's WM_TRANSIENT_FOR property

XGetTransientForHint(3x) on Linux now