x-focus-frame

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

(x-focus-frame FRAME)

Set the input focus to FRAME.
FRAME nil means use the selected frame.
If there is no window system support, this function does nothing.