selected-frame

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

(selected-frame)

Return the frame that is now selected.