diff options
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index efbe1f000..42927433f 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -606,7 +606,7 @@ bool ScintillaWin::UpdateRenderingParams(bool force) noexcept { } } const HWND hRootWnd = ::GetAncestor(MainHWND(), GA_ROOT); - const HMONITOR monitor = Internal::MonitorFromWindow(hRootWnd); + const HMONITOR monitor = Internal::MonitorFromWindowHandleScaling(hRootWnd); if (!force && monitor == hCurrentMonitor && renderingParams->defaultRenderingParams) { return false; } |