hg: macosx-port/macosx-port/jdk: Fix for MACOSX_PORT-738: DnDBasicTest0001 doesn't work as expected

alexander.zuev at oracle.com alexander.zuev at oracle.com
Sun Dec 4 00:33:58 PST 2011


Changeset: 0a6fbf4da08c
Author:    kizune
Date:      2011-12-04 12:32 +0300
URL:       http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/0a6fbf4da08c

Fix for MACOSX_PORT-738: DnDBasicTest0001 doesn't work as expected
Added explicit generation of dragEnter and dragExit events when moving over lightweigth components.
As a side effect fixed the reversed y coordinate in DragMouseMove event and also
fixed situation when non-appkit thread uses environment created for appkit thread.

! src/macosx/classes/sun/lwawt/macosx/CDragSourceContextPeer.java
! src/macosx/classes/sun/lwawt/macosx/CDropTargetContextPeer.java
! src/macosx/native/sun/awt/CDragSource.m
! src/macosx/native/sun/awt/CDropTarget.m



More information about the macosx-port-dev mailing list