diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2014-02-21 16:13:09 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2014-02-24 22:02:04 +0100 |
commit | fa42110482171f82153596cbee766e3d1b84c925 (patch) | |
tree | c420bcf0916834de9809eb404c248896e4c0bced /.gitignore | |
parent | 6e2e82e6fbb8927d5154f32c83e2b95c08fef18e (diff) | |
download | vd_agent-fa42110482171f82153596cbee766e3d1b84c925.tar.gz vd_agent-fa42110482171f82153596cbee766e3d1b84c925.tar.xz vd_agent-fa42110482171f82153596cbee766e3d1b84c925.zip |
randr: set physical screen size to keep a constant 96 dpi
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, since that code is no longer executed with DRM driver,
I don't think we should invest more effort here (I guess DRM driver
relies on xrandr / gnome-settings-daemon to do the right thing, so
physical screen is updated)
https://bugzilla.redhat.com/show_bug.cgi?id=1066094
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions