summaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-31 07:49:31 +0100
committerSven Gothel <[email protected]>2023-01-31 07:49:31 +0100
commit9b1b1df6afe32be3ad514c3e3c7b31c940225e2c (patch)
tree8c9e5d25d9885a854c2a44726bfaf14c0e00ad64 /src/newt/classes
parent97b79ad351e48e7d3c6f9c95bacdf4f9d5d158ef (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.java2
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