From abdbb79b1501145fc3d7f17b699dc4a9fc3b96c4 Mon Sep 17 00:00:00 2001 From: Petr Pchelko Date: Tue, 28 May 2013 12:37:46 +0400 Subject: [PATCH] 8000422: [macosx] Views keep scrolling back to the drag position after DnD Reviewed-by: serb, anthony --- .../macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java b/jdk/src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java index 0f32d3178fd..ad6171fe67a 100644 --- a/jdk/src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java +++ b/jdk/src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java @@ -38,7 +38,7 @@ final class CDropTargetContextPeer extends SunDropTargetContextPeer { private long fNativeDropTransfer = 0; private long fNativeDataAvailable = 0; private Object fNativeData = null; - private boolean insideTarget = false; + private boolean insideTarget = true; Object awtLockAccess = new Object();