mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JRE-119 [use default "sun.java2d.dpiaware=true" to be dpi-aware on Window 7]
This lets awt_Win32GraphicsEnv.cpp SetProcessDPIAwareProperty() call Win7 specific ::SetProcessDPIAware() API func.
(cherry picked from commit 5e7a766090810d839f4352d06fc2812499d766f8)
(cherry picked from commit 7d1d43bfa1)
This commit is contained in:
committed by
alexey.ushakov@jetbrains.com
parent
d398ec28aa
commit
0789a85164
@@ -212,7 +212,7 @@ public class WindowsFlags {
|
||||
}
|
||||
offscreenSharingEnabled =
|
||||
getBooleanProp("sun.java2d.offscreenSharing", false);
|
||||
String dpiOverride = System.getProperty("sun.java2d.dpiaware");
|
||||
String dpiOverride = System.getProperty("sun.java2d.dpiaware", "true");
|
||||
if (dpiOverride != null) {
|
||||
setHighDPIAware = dpiOverride.equalsIgnoreCase("true");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user