From b8a1403da44af1eb31bc87e71ee9788cb831117b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 11 Aug 2015 02:40:41 +0200 Subject: WindowImpl appendStateBits(..): Fix POINTER* representation --- src/newt/classes/jogamp/newt/WindowImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/newt') diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java index 2721e90e6..ee6072ae9 100644 --- a/src/newt/classes/jogamp/newt/WindowImpl.java +++ b/src/newt/classes/jogamp/newt/WindowImpl.java @@ -378,7 +378,9 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer sb.append(", "); } - if( 0 == ( ( STATE_MASK_POINTERVISIBLE | STATE_MASK_POINTERCONFINED ) & mask) ) { + if( 0 == ( STATE_MASK_POINTERVISIBLE & mask) || + 0 != ( STATE_MASK_POINTERCONFINED & mask) ) + { sb.append("pointer["); if( 0 == ( STATE_MASK_POINTERVISIBLE & mask) ) { sb.append("invisible"); -- cgit v1.2.3