On Thursday 13 April 2017 12:58:52 Michel Dänzer wrote: > On 13/04/17 12:52 PM, Keith Packard wrote: > > Pali Rohár <[email protected]> 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.
I do not agree as xdpyinfo on Xservers with XRANDR 1.2 support output invalid resolution and dimension information. When XRANDR 1.2 support then those information are available only via XRANDR extension. -- Pali Rohár [email protected] _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
