aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2019-02-27 22:55:41 +0200
committerJuri Linkov2019-02-27 22:55:41 +0200
commit5644369008966ef7a69a2a36dd0c08c52d4bc720 (patch)
tree1919ca370b71e22ba41ad4aa0e7df382f1190af6
parentb18cecf89bbb9d2d057f86e8fa1a1f1417d887b6 (diff)
downloademacs-5644369008966ef7a69a2a36dd0c08c52d4bc720.tar.gz
emacs-5644369008966ef7a69a2a36dd0c08c52d4bc720.zip
* doc/emacs/frames.texi (Multiple Displays): Add make-frame-on-monitor.
* doc/lispref/frames.texi (Multiple Terminals): Add make-frame-on-monitor. (Bug#34516)
-rw-r--r--doc/emacs/frames.texi10
-rw-r--r--doc/lispref/frames.texi11
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 05aabd0e15b..6001096f35b 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -899,6 +899,16 @@ input stream for each server. Each server also has its own selected
899frame. The commands you enter with a particular X server apply to 899frame. The commands you enter with a particular X server apply to
900that server's selected frame. 900that server's selected frame.
901 901
902 On multi-monitor displays it is possible to use the command
903@code{make-frame-on-monitor}:
904
905@findex make-frame-on-monitor
906@table @kbd
907@item M-x make-frame-on-monitor @key{RET} @var{monitor} @key{RET}
908Create a new frame on monitor @var{monitor} whose screen area is
909a part of the current display.
910@end table
911
902@node Frame Parameters 912@node Frame Parameters
903@section Frame Parameters 913@section Frame Parameters
904@vindex default-frame-alist 914@vindex default-frame-alist
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 8cb406cded3..820006a5675 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -440,6 +440,17 @@ This function returns the attributes of the physical monitor
440dominating (see above) @var{frame}, which defaults to the selected frame. 440dominating (see above) @var{frame}, which defaults to the selected frame.
441@end defun 441@end defun
442 442
443On multi-monitor displays it is possible to use the command
444@code{make-frame-on-monitor} to make frames on the specified monitor.
445
446@deffn Command make-frame-on-monitor monitor &optional display parameters
447This function creates and returns a new frame on @var{monitor} located
448on @var{display}, taking the other frame parameters from the alist
449@var{parameters}. @var{monitor} should be the name of the physical
450monitor, the same string as returned by the function
451@code{display-monitor-attributes-list} in the attribute @code{name}.
452@var{display} should be the name of an X display (a string).
453@end deffn
443 454
444@node Frame Geometry 455@node Frame Geometry
445@section Frame Geometry 456@section Frame Geometry