RFR: 8254841: [macos] Enter and Exit events shouldn't be sent whilst resizing [v5]

Phil Race prr at openjdk.java.net
Thu Sep 23 21:53:56 UTC 2021


On Thu, 23 Sep 2021 20:26:43 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> wrote:

> > > I checked for when the user maximizes the window and tiles to the left or right of the screen and both seem to work.
> > 
> > 
> > But what is the flag value? Is it true or false? If it's true and everything works maybe we do not need this line at all?
> 
> Oh the flag is always true. And removing the line completely fixes the bug and doesn't have any problems with fullscreen or tiling.

Surely that was there for a reason ? Looks like it might be important for the synthesized full screen mode ?
It was added in that location by this fix : https://mail.openjdk.java.net/pipermail/awt-dev/2013-November/006372.html
and that just moved it a few lines so it was already in use before then.

Does the test from there still pass ? Any others fail ?

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

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



More information about the client-libs-dev mailing list