jdk/src/solaris/classes/sun/awt/X11/XDropTargetRegistry.java
changeset 21278 ef8a3a2a72f2
parent 18178 ee71c923891d
child 22584 eed64ee05369
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    59         return theInstance;
    59         return theInstance;
    60     }
    60     }
    61 
    61 
    62     /**
    62     /**
    63      * Returns the XID of the topmost window with WM_STATE set in the ancestor
    63      * Returns the XID of the topmost window with WM_STATE set in the ancestor
    64      * heirarchy of the specified window or 0 if none found.
    64      * hierarchy of the specified window or 0 if none found.
    65      */
    65      */
    66     private long getToplevelWindow(long window) {
    66     private long getToplevelWindow(long window) {
    67         XBaseWindow candWindow = XToolkit.windowToXWindow(window);
    67         XBaseWindow candWindow = XToolkit.windowToXWindow(window);
    68         if (candWindow != null) {
    68         if (candWindow != null) {
    69             XWindowPeer toplevel = candWindow.getToplevelXWindow();
    69             XWindowPeer toplevel = candWindow.getToplevelXWindow();