From 9b1b1df6afe32be3ad514c3e3c7b31c940225e2c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 31 Jan 2023 07:49:31 +0100 Subject: Fix comment for WindowImpl.insets: value is in window units --- src/newt/classes/jogamp/newt/WindowImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt/classes/jogamp') 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 -- cgit v1.2.3