equal
deleted
inserted
replaced
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 } |