jdk/src/solaris/classes/sun/awt/X11/XDialogPeer.java
changeset 13648 90effcfc064f
parent 5506 202f599c92aa
child 22567 5816a47fa4dd
--- a/jdk/src/solaris/classes/sun/awt/X11/XDialogPeer.java	Wed Aug 29 15:54:28 2012 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XDialogPeer.java	Wed Aug 29 19:53:35 2012 +0400
@@ -135,7 +135,7 @@
      * Thus we don't have to perform any transitive (a blocker of a blocker) checks.
      */
     boolean isFocusedWindowModalBlocker() {
-        Window focusedWindow = XKeyboardFocusManagerPeer.getCurrentNativeFocusedWindow();
+        Window focusedWindow = XKeyboardFocusManagerPeer.getInstance().getCurrentFocusedWindow();
         XWindowPeer focusedWindowPeer = null;
 
         if (focusedWindow != null) {