summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-05-13 06:27:03 +0200
committerSven Gothel <[email protected]>2023-05-13 06:27:03 +0200
commitcfe56e9e6bda15873fefce6f03d343ccdfc51f9b (patch)
tree4586c4a7f912c7e5b33c813bd2a4c14826e7d96e /src/newt/classes/jogamp
parent309cd9fb55d57739f08147840165910f59c4b432 (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.java2
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 ) {