]> code.delx.au - gnu-emacs/commitdiff
(Frames and Windows): Add set-frame-selected-window and frame-root-window.
authorRichard M. Stallman <rms@gnu.org>
Mon, 29 Dec 2003 20:58:40 +0000 (20:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 29 Dec 2003 20:58:40 +0000 (20:58 +0000)
lispref/frames.texi

index 76b4228cc4fa65bbd3c6a25a3b4e5d54eacaa7cf..ec3c1c6dc7c7841d94df9c1ce71a62d3ebbe7665 100644 (file)
@@ -921,11 +921,22 @@ selected window with @code{frame-selected-window}.
 @defun frame-selected-window frame
 This function returns the window on @var{frame} that is selected within
 @var{frame}.
+@end defun
+
+@defun set-frame-selected-window frame window
+This sets the selected window of frame @var{frame} to @var{window}.
+If @var{frame} is @code{nil}, it operates on the selected frame.  If
+@var{frame} is the selected frame, this makes @var{window} the
+selected window.
 @end defun
 
   Conversely, selecting a window for Emacs with @code{select-window} also
 makes that window selected within its frame.  @xref{Selecting Windows}.
 
+@defun frame-root-window frame
+This function returns the window at the top left corner of @var{frame}.
+@end defun
+
   Another function that (usually) returns one of the windows in a given
 frame is @code{minibuffer-window}.  @xref{Minibuffer Misc}.