Re: [Spice-devel] [PATCH] randr: set physical screen size to keep a constant 96 dpi

2014-02-24 Thread Christophe Fergeau
["git config format.subjectprefix vdagent-linux" in your vdagent local clone would be nice] On Fri, Feb 21, 2014 at 04:17:06PM +0100, Marc-André Lureau wrote: > Some applications compute DPI based on physcial screen size. Currently, > the width is reported to be 270mm, regardless of the resolutio

[Spice-devel] [PATCH] randr: set physical screen size to keep a constant 96 dpi

2014-02-21 Thread Marc-André Lureau
Some applications compute DPI based on physcial screen size. Currently, the width is reported to be 270mm, regardless of the resolution. This patch instead compute a physical screen size to have a constant DPI of 96. Of course, there are possible improvements to this approach (see fixme), however