[PATCH app/xdpyinfo] Use XRANDR 1.2 extension for reporting dimensions and resolution per output

Keith Packard keithp at keithp.com
Thu Apr 13 03:52:46 UTC 2017


Pali Rohár <pali.rohar at gmail.com> writes:

> Current usage of DisplayWidthMM() and DisplayHeightMM() does not make sense
> for multi-monitor configuration. In most cases DPI is set to 96 as there is
> no sane value.
>
> Instead when XRANDR 1.2 extension is supported, report dimensions and
> resolution information per XRANDR monitor output. It should provide
> correct DPI value.

I'd be happy for this to be reported as additional information, but I
suspect there are numerous shell scripts which parse the old information
which will get confused by any change in the format.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170412/bf5f2431/attachment.sig>


More information about the xorg-devel mailing list