last-nonminibuffer-frame

last-nonminibuffer-frame is a built-in function in `C source code'.

(last-nonminibuffer-frame)

Return last non-minibuffer frame selected.