mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-09 15:42:10 +00:00
8015425: [macosx] A follow-up for the fix 8010721
Reviewed-by: serb, anthony
This commit is contained in:
parent
d7c42983fb
commit
69dcf8a54e
@ -539,7 +539,7 @@ AWT_ASSERT_APPKIT_THREAD;
|
||||
AWTWindow *opposite = [AWTWindow lastKeyWindow];
|
||||
if (!IS(self.styleBits, IS_DIALOG)) {
|
||||
[CMenuBar activate:self.javaMenuBar modallyDisabled:NO];
|
||||
} else if (IS(self.styleBits, IS_MODAL)) {
|
||||
} else if ((opposite != NULL) && IS(self.styleBits, IS_MODAL)) {
|
||||
[CMenuBar activate:opposite->javaMenuBar modallyDisabled:YES];
|
||||
}
|
||||
[AWTWindow setLastKeyWindow:nil];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user