From 31e112245715d5d5778e878d561691bcabd7550a Mon Sep 17 00:00:00 2001 From: Johannes Schultz Date: Sat, 9 Nov 2024 23:30:29 +0000 Subject: [PATCH] [Mod] Disable per-monitor awareness. It is nowhere near usable in this branch. git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@22130 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- mptrack/Mptrack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mptrack/Mptrack.cpp b/mptrack/Mptrack.cpp index 13f7ab05a51..2df23c69ed2 100644 --- a/mptrack/Mptrack.cpp +++ b/mptrack/Mptrack.cpp @@ -1295,7 +1295,7 @@ BOOL CTrackApp::InitInstanceImpl(CMPTCommandLineInfo &cmdInfo) { if(TrackerSettings::Instance().highResUI) { - setDPI = (SetProcessDpiAwarenessContext(HANDLE(MPT_DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2)) == TRUE); + setDPI = (SetProcessDpiAwarenessContext(HANDLE(MPT_DPI_AWARENESS_CONTEXT_SYSTEM_AWARE)) == TRUE); } else { if(TrackerSettings::Instance().useGDIUpcaling && SetProcessDpiAwarenessContext(HANDLE(MPT_DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED)) == TRUE)