On Mon, 27 Jan 2025 10:03:45 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> I would like to clarify one point: if the robot moves the mouse off the 
> screen while the actual mouse pointer is on the screen and immediately 
> presses the mouse button, where will the click occur? on or off the screen?

That's a good question… How do we validate it?

Mouse events are usually sent to the window under the mouse cursor, so we 
create a set windows or a single large window which cover the entire virtual 
screen and some additional space to accommodate the off-screen location where 
we will move the mouse cursor to.

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

PR Comment: https://git.openjdk.org/jdk/pull/22781#issuecomment-2619852452

Reply via email to