[PATCH xrandr 1/5] Bug #29603: document that there might be multiple preferred modes

Aaron Plattner aplattner at nvidia.com
Wed Feb 6 14:38:32 PST 2013


The X server sorts the mode list for an output with preferred modes first, and
specifies how many preferred modes there are by setting the npreferred field in
the XRRModeInfo structure.

Update the man page to refer to preferred modes in the plural, and mention that
--auto and --preferred use the *first* preferred mode.

Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
---
 man/xrandr.man | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/xrandr.man b/man/xrandr.man
index 2455756..900095c 100644
--- a/man/xrandr.man
+++ b/man/xrandr.man
@@ -78,7 +78,7 @@ screen. It can also set the screen size.
 
 If invoked without any option, it will dump the state of the outputs,
 showing the existing modes for each of them, with a '+' after the preferred
-mode and a '*' after the current mode.
+modes and a '*' after the current mode.
 
 There are a few global options. Other options modify the last output that is
 specified in earlier parameters in the command line. Multiple outputs may
@@ -249,7 +249,7 @@ Selects an output to reconfigure. Use either the name of the output or the
 XID.
 .IP \-\-auto
 For connected but disabled outputs, this will enable them using their
-preferred mode (or, something close to 96dpi if they have no preferred
+first preferred mode (or, something close to 96dpi if they have no preferred
 mode). For disconnected but enabled outputs, this will disable them.
 .IP "\-\-mode \fImode\fP"
 This selects a mode. Use either the name or the XID for \fImode\fP
-- 
1.7.12



More information about the xorg-devel mailing list