From 327890dd6c96d55a9471a80ac53c36c2e51ec5d7 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 27 Sep 2022 15:29:33 +0200 Subject: [PATCH] Document the new "XRandR 1.5" value * src/xfns.c (Fx_display_monitor_attributes_list): * lisp/frame.el (display-monitor-attributes-list): * doc/lispref/frames.texi (Multiple Terminals): Document the new "XRandR 1.5" value. --- doc/lispref/frames.texi | 2 +- lisp/frame.el | 6 +++--- src/xfns.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index e38a81d3e7e..8db6ad0fd32 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -407,7 +407,7 @@ Name of the physical monitor as @var{string}. @item source Source of the multi-monitor information as @var{string}; -e.g., @samp{XRandr} or @samp{Xinerama}. +e.g., @samp{XRandR 1.5}, @samp{XRandr} or @samp{Xinerama}. @end table @var{x}, @var{y}, @var{width}, and @var{height} are integers. diff --git a/lisp/frame.el b/lisp/frame.el index 1d7784dc769..400f8a44eea 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -2425,9 +2425,9 @@ It may be less than the total screen size, owing to space taken up by window manager features (docks, taskbars, etc.). The precise details depend on the platform and environment. -The `source' attribute describes the source from which the information -was obtained. On X, this may be one of: \"Gdk\", \"XRandr\", \"Xinerama\", -or \"fallback\". +The `source' attribute describes the source from which the +information was obtained. On X, this may be one of: \"Gdk\", +\"XRandR 1.5\", \"XRandr\", \"Xinerama\", or \"fallback\". A frame is dominated by a physical monitor when either the largest area of the frame resides in the monitor, or the monitor diff --git a/src/xfns.c b/src/xfns.c index 1d0210cb9e6..bb75ca5ad1c 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -6244,8 +6244,8 @@ In addition to the standard attribute keys listed in the attributes: source -- String describing the source from which multi-monitor - information is obtained, one of \"Gdk\", \"XRandr\", - \"Xinerama\", or \"fallback\" + information is obtained, one of \"Gdk\", \"XRandR 1.5\", + \"XRandr\", \"Xinerama\", or \"fallback\" Internal use only, use `display-monitor-attributes-list' instead. */) (Lisp_Object terminal) -- 2.39.2