From 7f1f12304f4c143b1656f79ee58311508fe00d1b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 17 Jul 2010 03:45:19 +0200 Subject: Newt: X11 ICC window properties ; Still bugs with composite manager and Newt reparenting Set _NET_WM_WINDOW_TYPE to specify decoration etc. On KDE4 having compositing enabled the reparent window is sometimes made invisible (UnmapWindow happened). FIXME. --- src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java | 1 + .../jogamp/test/junit/newt/parenting/TestParenting01NEWT.java | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src/junit/com') diff --git a/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java b/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java index 52c125998..53100eca7 100644 --- a/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java +++ b/src/junit/com/jogamp/test/junit/newt/TestGLWindows01NEWT.java @@ -108,6 +108,7 @@ public class TestGLWindows01NEWT { Assert.assertEquals(true,glWindow.isVisible()); Assert.assertEquals(true,glWindow.isNativeWindowValid()); while(glWindow.getTotalFrames()<1) { Thread.sleep(100); } + System.out.println("Frames for initial setVisible(true): "+glWindow.getTotalFrames()); Assert.assertTrue(0