]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/emacs/frames.texi (Multiple Displays): Add make-frame-on-monitor.
authorJuri Linkov <juri@linkov.net>
Wed, 27 Feb 2019 20:55:41 +0000 (22:55 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 27 Feb 2019 20:55:41 +0000 (22:55 +0200)
* doc/lispref/frames.texi (Multiple Terminals): Add make-frame-on-monitor.
(Bug#34516)

doc/emacs/frames.texi
doc/lispref/frames.texi

index 05aabd0e15b8087528f6b9b7da225637226ebc47..6001096f35b66cdad79d24cf06db92cb4e04fcb7 100644 (file)
@@ -899,6 +899,16 @@ input stream for each server.  Each server also has its own selected
 frame.  The commands you enter with a particular X server apply to
 that server's selected frame.
 
+  On multi-monitor displays it is possible to use the command
+@code{make-frame-on-monitor}:
+
+@findex make-frame-on-monitor
+@table @kbd
+@item M-x make-frame-on-monitor @key{RET} @var{monitor} @key{RET}
+Create a new frame on monitor @var{monitor} whose screen area is
+a part of the current display.
+@end table
+
 @node Frame Parameters
 @section Frame Parameters
 @vindex default-frame-alist
index 8cb406cded3add1f729bcc8d4f580796e767459b..820006a567527f8629ae2a8ff587d4c88381037e 100644 (file)
@@ -440,6 +440,17 @@ This function returns the attributes of the physical monitor
 dominating (see above) @var{frame}, which defaults to the selected frame.
 @end defun
 
+On multi-monitor displays it is possible to use the command
+@code{make-frame-on-monitor} to make frames on the specified monitor.
+
+@deffn Command make-frame-on-monitor monitor &optional display parameters
+This function creates and returns a new frame on @var{monitor} located
+on @var{display}, taking the other frame parameters from the alist
+@var{parameters}.  @var{monitor} should be the name of the physical
+monitor, the same string as returned by the function
+@code{display-monitor-attributes-list} in the attribute @code{name}.
+@var{display} should be the name of an X display (a string).
+@end deffn
 
 @node Frame Geometry
 @section Frame Geometry