6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11
authorant
Mon, 07 Dec 2009 16:38:44 +0300
changeset 4373 6a1c87e2876b
parent 4372 5d8e826073e1
child 4374 f672d9cf521e
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
--- a/jdk/src/solaris/classes/sun/awt/X11/XEmbedClientHelper.java	Mon Dec 07 14:07:05 2009 +0300
+++ b/jdk/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);
         }
     }