[PATCH app/xdpyinfo] Use XRANDR 1.2 extension for reporting dimensions and resolution per output
Michel Dänzer
michel at daenzer.net
Thu Apr 13 03:58:52 UTC 2017
On 13/04/17 12:52 PM, Keith Packard wrote:
> 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.
In which case it should probably only be printed with -ext RANDR, to be
consistent with other extensions.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170413/032ffafa/attachment.sig>
More information about the xorg-devel
mailing list