[PATCH app/xrandr] Document format of --dpi option in non-ambiguous way

Peter Hutterer peter.hutterer at who-t.net
Mon May 29 03:24:44 UTC 2017


On Sun, May 28, 2017 at 11:33:26PM +0200, Pali Rohár wrote:
> Slash in previous documentation could be misunderstood as part of the
> --dpi command line option. So fix it.
> 
> Signed-off-by: Pali Rohár <pali.rohar at gmail.com>

remote: Updating patchwork state for https://patchwork.freedesktop.org/project/Xorg/list/
remote: I: patch #158650 updated using rev 5d5db88d106a49d7560a8042fa054df8b609f00a.
remote: I: 1 patch(es) updated to state Accepted.
To git+ssh://git.freedesktop.org/git/xorg/app/xrandr
   215a01f..5d5db88  master -> master

Thanks!

Cheers,
   Peter
> ---
>  man/xrandr.man |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/man/xrandr.man b/man/xrandr.man
> index 5742286..55ea5dd 100644
> --- a/man/xrandr.man
> +++ b/man/xrandr.man
> @@ -41,7 +41,8 @@ xrandr \- primitive command line interface to RandR extension
>  [\-\-prop]
>  [\-\-fb \fIwidth\fPx\fIheight\fP]
>  [\-\-fbmm \fIwidth\fPx\fIheight\fP]
> -[\-\-dpi \fIdpi\fP/\fIoutput\fP]
> +[\-\-dpi \fIdpi\fP]
> +[\-\-dpi \fIfrom-output\fP]
>  [\-\-newmode \fIname\fP \fImode\fP]
>  [\-\-rmmode \fIname\fP]
>  [\-\-addmode \fIoutput\fP \fIname\fP]
> @@ -228,7 +229,8 @@ option provides a way to override that behaviour.
>  Sets the reported values for the physical size of the screen. Normally,
>  xrandr resets the reported physical size values to keep the DPI constant.
>  This overrides that computation.
> -.IP "\-\-dpi \fIdpi\fP/\fIoutput\fP"
> +.IP "\-\-dpi \fIdpi\fP"
> +.IP "\-\-dpi \fIfrom-output\fP"
>  This also sets the reported physical size values of the screen, it uses either
>  the specified DPI value, or the DPI of the given output, to compute an appropriate
>  physical size using whatever pixel size will be set.
> -- 
> 1.7.9.5
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list