(window-desk #&optional win)
Return the desk that win is currently on. win defaults to the window context in the usual way if not specified.
Module: Built-in Primitive
Defined in src/window.c at line 2862 (CVS log)