summaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-09-19 21:34:19 +0200
committerSven Gothel <[email protected]>2015-09-19 21:34:19 +0200
commitb4e4cad809c1b03b6be9a703a403d28c00249e5e (patch)
tree97d2536a1030f87d07dcfce90a5b51fc3d15e8c3 /src/newt
parent6228d072a2129b22d259c37987775e596957789a (diff)
NEWTDemoListener: Double-Mouse-Click Fullscreen only w/ 3 pointers involved
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java b/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
index 3e0b4f43c..afd6ad938 100644
--- a/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
+++ b/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
@@ -362,7 +362,7 @@ public class NEWTDemoListener extends WindowAdapter implements KeyListener, Mous
}
@Override
public void mouseClicked(final MouseEvent e) {
- if(e.getClickCount() == 2 && e.getPointerCount() == 1) {
+ if(e.getClickCount() == 2 && e.getPointerCount() == 3) {
glWindow.setFullscreen(!glWindow.isFullscreen());
System.err.println("setFullscreen: "+glWindow.isFullscreen());
}