Transient windows

To tell your window manager that a particular window is transient, for example a dialog box, you should give it an attribute

     property('WM_TRANSIENT_FOR',Window)
     

This means that your window is transient, and, in some sense, belongs to Window.