From b4e4cad809c1b03b6be9a703a403d28c00249e5e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 19 Sep 2015 21:34:19 +0200 Subject: NEWTDemoListener: Double-Mouse-Click Fullscreen only w/ 3 pointers involved --- src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt/classes/com') 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()); } -- cgit v1.2.3