On Fri, 5 May 2023 02:37:28 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> > If the user wishes to change their mind about the screens allowed to be 
> > captured, the user should use the new Robot#resetScreenCapturePermission 
> > method
> 
> Do we really need to add this new API? probably we can implement the feature 
> w/o this new method?

I couldn't think of anything better. 
We need to somehow let the robot know that the saved `restore_token` no longer 
meets the user's expectations.
It seems that the current robot API is not suitable for this.

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

PR Comment: https://git.openjdk.org/jdk/pull/13803#issuecomment-1536387259

Reply via email to