From 340b1ceb07907be113e33c54d084e53ddc93e368 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 3 Sep 2010 00:06:03 +0300 Subject: NEWT: Focus Fix + Cleanup Issueing 'requestFocus' via the native EDT dispatch loop may cause a deadlock, due to a possible implicite AWT requestFocus call (NewtCanvasAWT). Approach: RequestFocus issued directly, by Window.requestFocus() and the native EDT dispatch loop, is queued for later execution by EDT. This shall decouple a possible native windowing TK resource collision. - X11Windows.c: Add missing 'reparented' param for requestFocus to force requestFocus after reparenting. - AWTWindow.java: Add requestFocusImpl() +++ NEWT: Cleanup - Remove Event Type Bits in: - EventListener.h - NEWTEventListener.java - Remove InputEvent 'consume' status - --- .../com/jogamp/opengl/impl/GLContextImpl.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/jogl/classes') diff --git a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java index 61705439e..9dc77679b 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java @@ -250,14 +250,14 @@ public abstract class GLContextImpl extends GLContext { * MakeCurrent functionality, which also issues the creation of the actual OpenGL context.
* The complete callgraph for general OpenGL context creation is:
* *
* * Once at startup, ie triggered by the singleton constructor of a {@link GLDrawableFactoryImpl} specialization, @@ -267,10 +267,10 @@ public abstract class GLContextImpl extends GLContext { * + *
  • {@link #createContextARBVersions}
  • + * + *
  • {@link #mapVersionAvailable}
  • + * *
    * * @see #makeCurrentImpl -- cgit v1.2.3