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:
parent
06da4f2daf
commit
aaaa9e6afb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue