diff options
author | Sven Gothel <[email protected]> | 2023-01-31 07:49:31 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-31 07:49:31 +0100 |
commit | 9b1b1df6afe32be3ad514c3e3c7b31c940225e2c (patch) | |
tree | 8c9e5d25d9885a854c2a44726bfaf14c0e00ad64 /src/newt/classes | |
parent | 97b79ad351e48e7d3c6f9c95bacdf4f9d5d158ef (diff) |
Fix comment for WindowImpl.insets: value is in window units
Diffstat (limited to 'src/newt/classes')
-rw-r--r-- | src/newt/classes/jogamp/newt/WindowImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java index ae63c4539..4018c8b78 100644 --- a/src/newt/classes/jogamp/newt/WindowImpl.java +++ b/src/newt/classes/jogamp/newt/WindowImpl.java @@ -167,7 +167,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer private volatile int[] windowPos = new int[] { 64, 64 }; // client-area pos w/o insets in window units private volatile int[] windowSize = new int[] { 128, 128 }; // client-area size w/o insets in window units, default: may be overwritten by user - private volatile Insets insets = new Insets(); // insets of decoration in pixel units (if top-level && decorated) + private volatile Insets insets = new Insets(); // insets of decoration in window units (if top-level && decorated) private boolean blockInsetsChange = false; // block insets change (from same thread) private final RecursiveLock windowLock = LockFactory.createRecursiveLock(); // Window instance wide lock |