On Tue, 20 Oct 2020 23:43:46 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:

>> Sergey Bylokhov has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Update CGraphicsEnvironment.java
>
> src/java.desktop/macosx/classes/sun/awt/CGraphicsEnvironment.java line 182:
> 
>> 180:         }
>> 181:         // fetch the main display again, the old value might be outdated
>> 182:         mainDisplayID = getMainDisplayID();
> 
> What action since line 162 can trigger changing the getMainDisplayID() 
> outcome?

If the main screen is not in the list of screens means that the system monitors 
were changed in some way after this
method was called and we will get one more notification later.

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

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

Reply via email to