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

Sergey Bylokhov serb at openjdk.java.net
Wed Sep 15 04:15:45 UTC 2021


On Tue, 14 Sep 2021 22:05:56 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> wrote:

>> Added a resizing flag when the window is currently being resized to block mouseEntered and mouseExited events from being posted to that window.
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added bug ID to test

src/java.desktop/macosx/classes/sun/java2d/opengl/CGLLayer.java line 116:

> 114:             // 8254841: We need to tell the peer we have finished resizing
> 115:             // to resume posting mouseEntered and mouseExit events.
> 116:             peer.finishResizing();

Not sure that this call should be added to the render callback.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5497



More information about the client-libs-dev mailing list