select-frame-set-input-focus
select-frame-set-input-focus is a compiled Lisp function in `frame.el
'.
(select-frame-set-input-focus FRAME &optional NORECORD)
Select FRAME, raise it, and set input focus, if possible.
If `mouse-autoselect-window' is non-nil, also move mouse pointer
to FRAME's selected window. Otherwise, if `focus-follows-mouse'
is non-nil, move mouse cursor to FRAME.
Optional argument NORECORD means to neither change the order of
recently selected windows nor the buffer list.