On Fri, 20 Dec 2024 21:33:54 GMT, Phil Race <p...@openjdk.org> wrote:

> > Off topic: Is _“clamp”_ the right word for limiting mouse cursor 
> > coordinates to the virtual screen bounds?
> 
> I think so, at least in programming it is used in this way. Did you have 
> another word in mind ?

You're right, it's used this way. I haven't come across such usage before.

I'd use _“limit”_ or _”restrict”_.

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

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

Reply via email to