diff options
author | Sven Gothel <[email protected]> | 2023-05-13 06:27:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-05-13 06:27:03 +0200 |
commit | cfe56e9e6bda15873fefce6f03d343ccdfc51f9b (patch) | |
tree | 4586c4a7f912c7e5b33c813bd2a4c14826e7d96e /src/newt/classes/jogamp | |
parent | 309cd9fb55d57739f08147840165910f59c4b432 (diff) |
HiDPI: NEWT/MacOS: WindowDriver.sizeScreenPosInsetsChanged() is called w/ client-area in windowUnits (*fix regression*)
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r-- | src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java b/src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java index 4326dbc13..9aab8d285 100644 --- a/src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java +++ b/src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java @@ -664,7 +664,7 @@ public class WindowDriver extends WindowImpl implements MutableSurface, DriverCl if( withinLiveResize && !resizeAnimatorPaused && null!=lh ) { resizeAnimatorPaused = lh.pauseRenderingAction(); } - sizeChanged(defer, false, newWidth, newHeight, force); + sizeChanged(defer, true /* windowUnits */, newWidth, newHeight, force); screenPositionChanged(defer, newX, newY); insetsChanged(false, left, right, top, bottom); if( !withinLiveResize && resizeAnimatorPaused ) { |