On Thu, 16 Sep 2021 18:05:05 GMT, Alisen Chung <[email protected]> wrote:
> Oh you're right, removing the line also removes the extra mouseEntered and > mouseExit events. I thought it wasn't being called because a print statement > I put in that function never showed up, but I must've messed something up. > Was there a reason for the synthesizeMouseEnteredExitedEventsForAllWindows > call? That was done as a fix for JDK-8028485. We have to generate the mouse enter/exit events if the window was moved/resized under the mouse(while the mouse pointer was not moved) ------------- PR: https://git.openjdk.java.net/jdk/pull/5497
