Skip to content

Commit 71ab146

Browse files
authored
Make win32/perlexe high DPI aware
Not sure if this is really needed for GUI-based Perl applications, but given the presence of "Microsoft.Windows.Common-Controls" as a dependent assembly, better safe than sorry.
1 parent 8b0fd01 commit 71ab146

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

win32/perlexe.manifest

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
2+
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
33
<assemblyIdentity version="0.0.0.0" name="Perl" type="Win32" />
44
<description>Perl</description>
55
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
@@ -29,4 +29,10 @@
2929
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
3030
</application>
3131
</compatibility>
32+
<asmv3:application>
33+
<asmv3:windowsSettings>
34+
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
35+
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
36+
</asmv3:windowsSettings>
37+
</asmv3:application>
3238
</assembly>

0 commit comments

Comments
 (0)