RFR: 8254841: [macos] Enter or Exit events are shouldn't be displayed while resizing [v2]

Sergey Bylokhov serb at openjdk.java.net
Fri Sep 17 02:47:44 UTC 2021


On Thu, 16 Sep 2021 18:05:05 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> 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



More information about the client-libs-dev mailing list