frameset-move-onscreen
frameset-move-onscreen is a compiled Lisp function in `frameset.el
'.
(frameset-move-onscreen FRAME FORCE-ONSCREEN)
If FRAME is offscreen, move it back onscreen and, if necessary, resize it.
For the description of FORCE-ONSCREEN, see `frameset-restore'.
When forced onscreen, frames wider than the monitor's workarea are converted
to fullwidth, and frames taller than the workarea are converted to fullheight.
NOTE: This only works for non-iconified frames.