mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2026-01-11 11:01:40 +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
724bfdc8d4
commit
e5f3ba9966
@@ -213,7 +213,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