aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/util/NEWTDemoListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/util/NEWTDemoListener.java b/src/test/com/jogamp/opengl/test/junit/util/NEWTDemoListener.java
index 33479569e..b70beae69 100644
--- a/src/test/com/jogamp/opengl/test/junit/util/NEWTDemoListener.java
+++ b/src/test/com/jogamp/opengl/test/junit/util/NEWTDemoListener.java
@@ -300,7 +300,7 @@ public class NEWTDemoListener extends MouseAdapter implements KeyListener {
printlnState("[set visible post]");
glWindow.setExclusiveContextThread(t);
}
- if( wasVisible ) {
+ if( wasVisible && !e.isControlDown() ) {
try {
Thread.sleep(5000);
} catch (final InterruptedException e) {