summaryrefslogtreecommitdiff
path: root/lispref/frames.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-12-29 20:58:40 +0000
committerRichard M. Stallman <rms@gnu.org>2003-12-29 20:58:40 +0000
commit0c10c5de42ae41fad92880817bfb8b6e43e4bcbe (patch)
treeb2e0a1d7bf048f814553f62352c5f03213f413a9 /lispref/frames.texi
parent67203dbdf11bbeab54138e9dac5a0fcccea4b1e4 (diff)
downloademacs-0c10c5de42ae41fad92880817bfb8b6e43e4bcbe.tar.gz
(Frames and Windows): Add set-frame-selected-window and frame-root-window.
Diffstat (limited to 'lispref/frames.texi')
-rw-r--r--lispref/frames.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index 76b4228cc4f..ec3c1c6dc7c 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -923,9 +923,20 @@ 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}.