jdk/src/solaris/classes/sun/awt/X11/XToolkit.java
changeset 4371 dc9dcb8b0ae7
parent 4366 4446f3b8a9b4
child 4372 5d8e826073e1
equal deleted inserted replaced
4369:18b883ed2b58 4371:dc9dcb8b0ae7
   624                 long w = 0;
   624                 long w = 0;
   625                 if (windowToXWindow(ev.get_xany().get_window()) != null) {
   625                 if (windowToXWindow(ev.get_xany().get_window()) != null) {
   626                     Component owner =
   626                     Component owner =
   627                         XKeyboardFocusManagerPeer.getCurrentNativeFocusOwner();
   627                         XKeyboardFocusManagerPeer.getCurrentNativeFocusOwner();
   628                     if (owner != null) {
   628                     if (owner != null) {
   629                         XWindow ownerWindow = (XWindow) ComponentAccessor.getPeer(owner);
   629                         XWindow ownerWindow = (XWindow) AWTAccessor.getComponentAccessor().getPeer(owner);
   630                         if (ownerWindow != null) {
   630                         if (ownerWindow != null) {
   631                             w = ownerWindow.getContentWindow();
   631                             w = ownerWindow.getContentWindow();
   632                         }
   632                         }
   633                     }
   633                     }
   634                 }
   634                 }