< prev index next >
src/java.desktop/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java
Print this page
*** 906,916 ****
} finally {
/*
* Clear the reference to the native context if all copies of
* the original event are processed.
*/
! if (dispatcherDone) {
nativeCtxt = 0;
// Fix for 6342381
peer.nativeDragContext = 0;
}
--- 906,916 ----
} finally {
/*
* Clear the reference to the native context if all copies of
* the original event are processed.
*/
! if (dispatcherDone && !peer.dropInProcess) {
nativeCtxt = 0;
// Fix for 6342381
peer.nativeDragContext = 0;
}
< prev index next >