-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Win32 support for per-monitor DPI and scaling (#11171)
[win32] added support for per-monitor DPI and scaling
- Loading branch information
1 parent
59a5c42
commit a11603a
Showing
4 changed files
with
112 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> | ||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<application> | ||
<!-- Windows 10 --> | ||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> | ||
<!-- Windows 8.1 --> | ||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> | ||
<!-- Windows Vista --> | ||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> | ||
<!-- Windows 7 --> | ||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> | ||
<!-- Windows 8 --> | ||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | ||
</application> | ||
</compatibility> | ||
<asmv3:application> | ||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> | ||
<dpiAware>true</dpiAware> | ||
</asmv3:windowsSettings> | ||
</asmv3:application> | ||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<security> | ||
<requestedPrivileges> | ||
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel> | ||
</requestedPrivileges> | ||
</security> | ||
</trustInfo> | ||
<application xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<windowsSettings> | ||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True/PM</dpiAware> | ||
</windowsSettings> | ||
</application> | ||
<ms_compatibility:compatibility xmlns:ms_compatibility="urn:schemas-microsoft-com:compatibility.v1" xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<ms_asmv3:application xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3" xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<ms_asmv3:supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"></ms_asmv3:supportedOS> | ||
<ms_asmv3:supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"></ms_asmv3:supportedOS> | ||
<ms_asmv3:supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"></ms_asmv3:supportedOS> | ||
<ms_asmv3:supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"></ms_asmv3:supportedOS> | ||
<ms_asmv3:supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3"></ms_asmv3:supportedOS> | ||
</ms_asmv3:application> | ||
</ms_compatibility:compatibility> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters