On Fri, 2005-11-11 at 09:47 -0500, Lillian Angel wrote: > I made this change because I found in some case events were not being > dispatched properly. > > If in the MOUSE_CLICKED event we find that the candidate (for > mouseEventTarget) and the pressedComponent are not equal, null is > returned for the mouseEventTarget. In this case, I think that pressCount > should be reset to 0, since MOUSE_PRESSED and MOUSE_RELEASED events are > not going to be dispatched for this component. Also, pressedComponent > will be reset to something else when MOUSE_PRESSED is dispatched the > next time (and pressCount will be incremented appropriately). > > I don't want to commit this patch until it gets approved from someone (I > may be overlooking something).
This looks fine to me. Tom _______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
