aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-11-18 11:28:40 -0800
committerHarvey Harrison <[email protected]>2013-11-18 11:28:40 -0800
commit177d0da1a9a8e031f15efa9e89465f8ed97f25e5 (patch)
treeba47377f0db10242a03403432122f9b5b5a53f03 /src/newt/classes/com
parentd544c839f6df10f20977c786a446833f3aa7ef13 (diff)
jogl: push other call to clearGlobalFocus to the AWT EDT
Follow-on to commit: d544c839f6df10f20977c786a446833f3aa7ef13 (jogl: do the clearGlobalFocusOwner() call on the AWT EDT in NewtCanvasAWT) Likely this won't hurt anything. Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
index e1a819e77..fd8d44a74 100644
--- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
+++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
@@ -346,7 +346,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
if(null!=newtChild) {
newtChild.setFocusAction(null);
if(isOnscreen) {
- KeyboardFocusManager.getCurrentKeyboardFocusManager().clearGlobalFocusOwner();
+ AWTEDTExecutor.singleton.invoke(false, awtClearGlobalFocusOwner);
}
newtChild.requestFocus();
newtChild.setFocusAction(focusAction);