On Tue, 30 May 2023 18:41:38 GMT, Alisen Chung <[email protected]> wrote:

> added displayChanged call to CPlatformWindow when frame first needs to 
> deiconify or unmaximize
> All client tests passed after change

Also noticed this comment in setWindowState() of [CPlatformWindow.java#L1011 
](https://github.com/openjdk/jdk/blob/ea41907396a70933c4f6e6b0f247f7ba589a3a23/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java#L1011)

_// NOTE: the SWP.windowState field gets updated to the newWindowState
//       value when the native notification comes to us_

May be waiting untill the required native notification using an event-driven 
wait might work here?

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

PR Comment: https://git.openjdk.org/jdk/pull/14226#issuecomment-1581550235

Reply via email to