Commit 0c10c5de authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Frames and Windows): Add set-frame-selected-window and frame-root-window.

parent 67203dbd
......@@ -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
@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}.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment