diff options
author | Sven Gothel <[email protected]> | 2010-09-03 00:06:03 +0300 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-09-03 00:06:03 +0300 |
commit | 340b1ceb07907be113e33c54d084e53ddc93e368 (patch) | |
tree | 2839cd761cbe52ee39151ef24f5c7c4ddca36b5d /src/jogl/classes/com | |
parent | 1b2f7ebe62ce661eb32cc9caf74c6c49c8c5f15a (diff) |
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
-
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java | 20 |
1 files changed, 10 insertions, 10 deletions
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.<br> * The complete callgraph for general OpenGL context creation is:<br> * <ul> - * <li> {@link #makeCurrent} <i>GLContextImpl</i> - * <li> {@link #makeCurrentImpl} <i>Platform Implementation</i> - * <li> {@link #create} <i>Platform Implementation</i> + * <li> {@link #makeCurrent} <i>GLContextImpl</i></li> + * <li> {@link #makeCurrentImpl} <i>Platform Implementation</i></li> + * <li> {@link #create} <i>Platform Implementation</i></li> * <li> If <code>ARB_create_context</code> is supported: * <ul> - * <li> {@link #createContextARB} <i>GLContextImpl</i> - * <li> {@link #createContextARBImpl} <i>Platform Implementation</i> - * </ul> + * <li> {@link #createContextARB} <i>GLContextImpl</i></li> + * <li> {@link #createContextARBImpl} <i>Platform Implementation</i></li> + * </ul></li> * </ul><br> * * Once at startup, ie triggered by the singleton constructor of a {@link GLDrawableFactoryImpl} specialization, @@ -267,10 +267,10 @@ public abstract class GLContextImpl extends GLContext { * <ul> * <li> {@link #createContextARBMapVersionsAvailable} * <ul> - * <li> {@link #createContextARBVersions} - * </ul> - * <li> {@link #mapVersionAvailable} - * </ul> + * <li> {@link #createContextARBVersions}</li> + * </ul></li> + * <li> {@link #mapVersionAvailable}</li> + * </ul></li> * </ul><br> * * @see #makeCurrentImpl |