window-at

window-at is a built-in function in `C source code'.

(window-at X Y &optional FRAME)

Return window containing coordinates X and Y on FRAME.
FRAME must be a live frame and defaults to the selected one.
The top left corner of the frame is considered to be row 0,
column 0.