8000422: [macosx] Views keep scrolling back to the drag position after DnD
authorpchelko
Tue, 28 May 2013 12:37:46 +0400
changeset 17686 8f43a169e39f
parent 17685 95517c002a75
child 17687 4ecd9cdc9c45
8000422: [macosx] Views keep scrolling back to the drag position after DnD Reviewed-by: serb, anthony
jdk/src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java
--- a/jdk/src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java	Mon May 27 22:31:37 2013 +0400
+++ b/jdk/src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java	Tue May 28 12:37:46 2013 +0400
@@ -38,7 +38,7 @@
     private long    fNativeDropTransfer = 0;
     private long    fNativeDataAvailable = 0;
     private Object  fNativeData    = null;
-    private boolean insideTarget = false;
+    private boolean insideTarget = true;
 
     Object awtLockAccess = new Object();