aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
index 3eb97b3f9..5c242d0e7 100644
--- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
+++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
@@ -233,6 +233,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
} else {
configureNewtChild(false);
nativeWindow = null;
+ newtChild.setVisible(false);
newtChild.reparentWindow(null);
}
}