RFR: 8345538: Robot.mouseMove doesn't clamp bounds on macOS when trying to move mouse off screen [v6]

Alisen Chung achung at openjdk.org
Tue Jan 28 23:21:26 UTC 2025


On Tue, 28 Jan 2025 18:43:28 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> But I see no code which re-initialises the cached graphics configuration if anything changes.
> 
> Do I miss anything?

What I meant was have the user reinitialize the instance of robot, but it's not a clean solution. I've now updated it to grab the screen data during the mouseMove.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22781#discussion_r1932993258


More information about the client-libs-dev mailing list