From 45c70cd97e03eb35abbf6355bccbf9f53a53bb55 Mon Sep 17 00:00:00 2001 From: Anton Tarasov Date: Mon, 7 Dec 2009 16:38:44 +0300 Subject: [PATCH] 6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11 Reviewed-by: art, dcherepanov --- jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java b/jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java index f79de9cf927..0874502db1f 100644 --- a/jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java +++ b/jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java @@ -133,7 +133,7 @@ public class XEmbedClientHelper extends XEmbedHelper implements XEventDispatcher } void handleFocusIn(int detail) { if (embedded.focusAllowedFor()) { - embedded.handleWindowFocusInSync(0); + embedded.handleWindowFocusIn(0); } switch(detail) { case XEMBED_FOCUS_CURRENT: @@ -205,7 +205,7 @@ public class XEmbedClientHelper extends XEmbedHelper implements XEventDispatcher // embedded is an active window before sending WINDOW_LOST_FOCUS // to shared code if (XKeyboardFocusManagerPeer.getCurrentNativeFocusedWindow() == embedded.target) { - embedded.handleWindowFocusOutSync(null, 0); + embedded.handleWindowFocusOut(null, 0); } }