From 92fa0df30be7a4e3947cdeca89280947794ac7d6 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 21 May 2022 16:41:34 +0800 Subject: [PATCH] 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'. --- doc/lispref/frames.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2