Reference

XGetTransientForHint(3x) on Linux

The text 9cc6691db754, as Debian 3.0 (Woody) shipped it.

set or read a window's WM_TRANSIENT_FOR property

XGetTransientForHint(3x) on Linux now