1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

Windows: Fixed a bug causing DPI unaware desktop windows to not fill the entire screen when maximised

This commit is contained in:
ed 2019-03-12 09:24:15 +00:00
parent 06da4f2daf
commit aaaa9e6afb

View file

@ -3368,7 +3368,7 @@ private:
forceDisplayUpdate();
if (fullScreen && ! isMinimised())
setWindowPos (hwnd, Desktop::getInstance().getDisplays().findDisplayForRect (component.getScreenBounds()).userArea,
setWindowPos (hwnd, ScalingHelpers::scaledScreenPosToUnscaled (component, Desktop::getInstance().getDisplays().findDisplayForRect (component.getScreenBounds()).userArea),
SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOZORDER | SWP_NOSENDCHANGING);
}