diff options
author | Sven Gothel <[email protected]> | 2011-08-30 16:46:36 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-30 16:46:36 +0200 |
commit | bcea6b67bafaaabf2b1c43989fb13c0e4bf82c98 (patch) | |
tree | 0afdfb888c5f976a3982213e82b353ca548d7d64 /src/test | |
parent | be7995cb57c4ffa1ea71f8fc292fc0b3df5de212 (diff) |
Fix NEWT regression due to fix of bug 502, commit 9ed513e9a9616f6028084df4c650c8caf31ea49d
In case of exessive destroy/create (the NEWT reparenting test cases),
some dpyEDT events are slipping through the event dispatcher.
This fix uses issues more XSync on both Display connection in case of 'requestFocus'
and 'closeWindow'.
'requestFocus' also uses the dpyEDT to issue the XSetInputFocus(..), since it's EDT related.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01NEWT.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01NEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01NEWT.java index 4c5628860..01356e9d0 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01NEWT.java @@ -37,7 +37,6 @@ import javax.media.opengl.*; import com.jogamp.opengl.util.Animator; import com.jogamp.newt.*; -import com.jogamp.newt.event.*; import com.jogamp.newt.opengl.*; import java.io.IOException; |