window-transient-for -- Return the window for which WIN is transient.


(window-transient-for  #&optional win)


Return the window for which win is transient. If win is transient, and the window it is transient for is not the root window and is being managed by scwm, this returns the window object of the window that win is transient for, otherwise return #f. win defaults to the window context in the usual way if not specified.

Implementation Notes

Module: Built-in Primitive

Defined in src/window.c at line 2049 (CVS log)