Reference

XGetTransientForHint(3) on Linux

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

set or read a window's WM_TRANSIENT_FOR property

XGetTransientForHint(3) on Linux now