summaryrefslogtreecommitdiff
path: root/doc/lispref/frames.texi
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-05-21 16:41:34 +0800
committerPo Lu <luangruo@yahoo.com>2022-05-21 16:47:39 +0800
commit92fa0df30be7a4e3947cdeca89280947794ac7d6 (patch)
treeafac3d7a17298a435e73ed44c34e16e85b3d5271 /doc/lispref/frames.texi
parent69792e34a4d7c883a354c68e517b7019cefac2d4 (diff)
downloademacs-92fa0df30be7a4e3947cdeca89280947794ac7d6.tar.gz
Improve doc for `display-monitors-changed-functions'
* doc/lispref/frames.texi (Multiple Terminals): Describe how to retrieve the new monitor configuration inside `display-monitor-attributes-list'.
Diffstat (limited to 'doc/lispref/frames.texi')
-rw-r--r--doc/lispref/frames.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 7d600b5a0c5..e8765cf958e 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -465,7 +465,9 @@ changes, which can happen if a monitor is rotated, moved, added or
removed from a multiple-monitor setup, if the primary monitor changes,
or if the resolution of a monitor changes. It is called with a single
argument consisting of the terminal on which the monitor configuration
-changed.
+changed. Programs should call @code{display-monitor-attributes-list}
+with the terminal as the argument to retrieve the new monitor
+configuration on that terminal.
@end defvar
@node Frame Geometry