diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-12-14 18:29:26 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-12-14 18:29:26 +0100 |
commit | f3371c1d788f7e6a5da22d24d745736164b330aa (patch) | |
tree | a2f641d5d698d9efa9b3ec09674c48cd21efd6c1 /rbutil | |
parent | 64cc9aad73fd8f5e780be46806f85473e261862f (diff) |
rbutil: Improve HiDPI support.
Since we embed a manifest file on Windows we also need to indicate HiDPI
support in it. Otherwise it will only work partially.
Change-Id: Ie330950a476047982a8f63ec764e5cd352411294
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.manifest | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.manifest b/rbutil/rbutilqt/rbutilqt.manifest index 7ac9bda20f..27586d99dd 100644 --- a/rbutil/rbutilqt/rbutilqt.manifest +++ b/rbutil/rbutilqt/rbutilqt.manifest @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="RockboxUtility.exe" type="win32"/> <!-- Identify the application security requirements. --> @@ -10,4 +10,10 @@ </requestedPrivileges> </security> </trustInfo> + <asmv3:application> + <asmv3:windowsSettings> + <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> |