summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 afd6ad938..d49ddab42 100644
--- a/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
+++ b/src/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java
@@ -300,7 +300,7 @@ public class NEWTDemoListener extends WindowAdapter implements KeyListener, Mous
glWindow.setVisible(!wasVisible);
printlnState("[set visible post]");
}
- if( wasVisible && !e.isControlDown() ) {
+ if( wasVisible && !e.isShiftDown() ) {
try {
java.lang.Thread.sleep(5000);
} catch (final InterruptedException e) {