]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
Added dpiAwareness element to manifest master
authorYang Yulin <yylofficial@hotmail.com>
Sun, 7 Jul 2024 01:37:05 +0000 (09:37 +0800)
committerJon Turney <jon.turney@dronecode.org.uk>
Sun, 21 Jul 2024 15:19:29 +0000 (16:19 +0100)
This causes top-level and child HWNDs to be notified of DPI changes,
which avoid the content of the window appearing blurry when changing
DPI.

setup.exe.manifest

index 45a5f0827cd74f5498d967336e54392e8d0413a0..f3820facd90a2513446022edfda157cab1168386 100755 (executable)
@@ -40,8 +40,9 @@
     </application>
   </compatibility>
   <asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
-    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
-      <dpiAware>true</dpiAware>
+    <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>
This page took 0.030695 seconds and 5 git commands to generate.