Reference

XGetTransientForHint(3x) on Linux

The text 0ef1a20e9544, as Debian 1.2 (Rex) shipped it.

set or read a window's WM_TRANSIENT_FOR property

XGetTransientForHint(3x) on Linux now