mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-17 13:55:20 +00:00
8024158: [macosx] java/awt/EventDispatchThread/LoopRobustness/LoopRobustness still failed after fix JDK-8022247; since jdk8b96
Reviewed-by: art, leonidr
This commit is contained in:
parent
a8abc64da9
commit
efe326ede9
@ -1150,8 +1150,11 @@ public class LWWindowPeer
|
||||
return false;
|
||||
}
|
||||
|
||||
Window currentActive = KeyboardFocusManager.
|
||||
getCurrentKeyboardFocusManager().getActiveWindow();
|
||||
AppContext targetAppContext = AWTAccessor.getComponentAccessor().getAppContext(getTarget());
|
||||
KeyboardFocusManager kfm = AWTAccessor.getKeyboardFocusManagerAccessor()
|
||||
.getCurrentKeyboardFocusManager(targetAppContext);
|
||||
Window currentActive = kfm.getActiveWindow();
|
||||
|
||||
|
||||
Window opposite = LWKeyboardFocusManagerPeer.getInstance().
|
||||
getCurrentFocusedWindow();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user