changeset 49695:a4d1d2dec618

8199627: Use "Per-Monitor V2" High DPI awareness for Windows 10 v1703 Reviewed-by: serb, prr
author aivanov
date Thu, 12 Apr 2018 14:11:42 +0100
parents 69f7e3ed043c
children 508e9f6632fd
files src/java.base/windows/native/launcher/java.manifest
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/windows/native/launcher/java.manifest	Thu Apr 12 14:03:54 2018 +0100
+++ b/src/java.base/windows/native/launcher/java.manifest	Thu Apr 12 14:11:42 2018 +0100
@@ -36,8 +36,10 @@
 
   <!-- Indicate JDK is high-dpi aware. -->
   <asmv3:application>
-    <asmv3:windowsSettings  xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
-       <dpiAware>true/PM</dpiAware>
+    <asmv3:windowsSettings xmlns:dpi1="http://schemas.microsoft.com/SMI/2005/WindowsSettings"
+                           xmlns:dpi2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
+      <dpi1:dpiAware>true/PM</dpi1:dpiAware>
+      <dpi2:dpiAwareness>PerMonitorV2, PerMonitor, system</dpi2:dpiAwareness>
     </asmv3:windowsSettings>
   </asmv3:application>