提交 b2629d63 编写于 作者: D denis

7178079: REGRESSION: Some AWT Drag-n-Drop tests fail since JDK 7u6 b13

Reviewed-by: serb, anthony
上级 386cccc3
...@@ -128,6 +128,15 @@ final class CDropTargetContextPeer extends SunDropTargetContextPeer { ...@@ -128,6 +128,15 @@ final class CDropTargetContextPeer extends SunDropTargetContextPeer {
} }
} }
@Override
protected int postDropTargetEvent(Component component, int x, int y, int dropAction,
int actions, long[] formats, long nativeCtxt, int eventID,
boolean dispatchType) {
// On MacOS X all the DnD events should be synchronous
return super.postDropTargetEvent(component, x, y, dropAction, actions, formats, nativeCtxt,
eventID, SunDropTargetContextPeer.DISPATCH_SYNC);
}
// Signal drop complete: // Signal drop complete:
protected void doDropDone(boolean success, int dropAction, boolean isLocal) { protected void doDropDone(boolean success, int dropAction, boolean isLocal) {
long nativeDropTarget = this.getNativeDragContext(); long nativeDropTarget = this.getNativeDragContext();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册