mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
minibrowser: implement HiDPI support (#30343)
This commit is contained in:
parent
d22d97f8c8
commit
bb1a6c23c5
6 changed files with 130 additions and 67 deletions
|
@ -17,7 +17,11 @@
|
|||
|
||||
<asmv3:application>
|
||||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||
<dpiAware>true</dpiAware>
|
||||
<!-- enable per-monitor dpi awareness where possible -->
|
||||
<!-- https://learn.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process -->
|
||||
<!-- https://stackoverflow.com/q/23551112 -->
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
</assembly>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue