summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-08-11 02:40:41 +0200
committerSven Gothel <[email protected]>2015-08-11 02:40:41 +0200
commitb8a1403da44af1eb31bc87e71ee9788cb831117b (patch)
tree3bbbd15ea4b6817099db2bb9915f6559e5e70416 /src/newt/classes/jogamp
parent4a9f65b176d618a8816eff6d24e683c56a4d8086 (diff)
WindowImpl appendStateBits(..): Fix POINTER* representation
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java4
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");