mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
a1c2173bbf
We found that when we are using a remote desktop, the monitor DPI reported by GetDpiForMonitor() may not make sense. For example, on Chrome Remote Desktop we always get 25 DPI, while the standard DPI is 96. Because of that, the calculated guest DPI is also too low, and all the UI elements in the guest appear very small. This might be a flaw in Windows Remote Desktop Protocol. As a workaround, we would just assume the monitor DPI is the standard value if we find that KiwiVM is running in a remote session. Bug: 273810154 Test: Ran B* in CRD and checked the Overlay UI size Change-Id: Ie335fe8df394b19733bbee8f70931c29b836f3d3 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4804796 Reviewed-by: Vikram Auradkar <auradkar@google.com> Commit-Queue: Kaiyi Li <kaiyili@google.com> |
||
---|---|---|
.. | ||
examples | ||
protocol | ||
src | ||
build.rs | ||
Cargo.toml |