diff options
author | Sven Gothel <[email protected]> | 2015-08-11 02:40:41 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-08-11 02:40:41 +0200 |
commit | b8a1403da44af1eb31bc87e71ee9788cb831117b (patch) | |
tree | 3bbbd15ea4b6817099db2bb9915f6559e5e70416 /src/newt | |
parent | 4a9f65b176d618a8816eff6d24e683c56a4d8086 (diff) |
WindowImpl appendStateBits(..): Fix POINTER* representation
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/classes/jogamp/newt/WindowImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |