On Sun, 10 Oct 2021 22:06:17 GMT, Sergey Bylokhov <[email protected]> wrote:
>> After a modal dialog is closed, its parent window should be pushed to the >> front and made key. > > src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java line > 1032: > >> 1030: execute(ptr -> nativePushNSWindowToFront(ptr)); >> 1031: } >> 1032: > > Do not we need to push the previously blocked window upfront only if the > blocker window was active? Yea, that makes sense. I'm stuck on how to check for whether the blocker window was in focus since by the time setModalBlocked(false) is called the blocker window is no longer in focus. Do you have any suggestions on how to approach this? ------------- PR: https://git.openjdk.java.net/jdk/pull/5884
