summaryrefslogtreecommitdiffstats
path: root/src/demos/newt/NEWTTest1.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/newt/NEWTTest1.java')
-rw-r--r--src/demos/newt/NEWTTest1.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/newt/NEWTTest1.java b/src/demos/newt/NEWTTest1.java
index ab8d577..1a2f757 100644
--- a/src/demos/newt/NEWTTest1.java
+++ b/src/demos/newt/NEWTTest1.java
@@ -88,7 +88,7 @@ public class NEWTTest1 implements WindowListener, KeyListener, MouseListener
Screen screen = NewtFactory.createScreen(display, 0);
Window window = NewtFactory.createWindow(screen, caps);
window.setTitle("GlassPrism");
- window.setAutoDrawableClient(true);
+ window.setHandleDestroyNotify(false);
window.setUndecorated(false);
window.setSize(256, 256);
window.addKeyListener(this);