[PATCH 1/5] control: Add DPI system awareness settings to the application manifest.

Zhiyi Zhang zzhang at codeweavers.com
Mon Sep 6 03:54:28 CDT 2021


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
Most builtin programs already achieved system DPI awareness. When scaling for DPI unaware applications
are implemented and enabled. These programs will be consider as DPI unaware due to their lack of DPI
awareness settings in their manifest. So add them now to avoid blurry application windows in the future. 


 programs/control/control.manifest | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/programs/control/control.manifest b/programs/control/control.manifest
index 2834937e564..0b677f379b0 100644
--- a/programs/control/control.manifest
+++ b/programs/control/control.manifest
@@ -13,4 +13,9 @@
         />
     </dependentAssembly>
 </dependency>
+<application xmlns="urn:schemas-microsoft-com:asm.v3">
+    <windowsSettings>
+        <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
+    </windowsSettings>
+</application>
 </assembly>
-- 
2.30.2




More information about the wine-devel mailing list