changeset 1978:384659657472

6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11 Reviewed-by: art, dcherepanov
author ant
date Mon, 07 Dec 2009 16:38:44 +0300
parents 5ab49c5b9423
children 725bf9c81f86
files src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java	Mon Dec 07 14:07:05 2009 +0300
+++ b/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java	Mon Dec 07 16:38:44 2009 +0300
@@ -133,7 +133,7 @@
     }
     void handleFocusIn(int detail) {
         if (embedded.focusAllowedFor()) {
-            embedded.handleWindowFocusInSync(0);
+            embedded.handleWindowFocusIn(0);
         }
         switch(detail) {
           case XEMBED_FOCUS_CURRENT:
@@ -205,7 +205,7 @@
         // 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);
         }
     }