mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-07 19:15:44 +00:00
7081012: REGRESSION:Component.transferFocusBackward invokes clearGlobalFocusOwner()
Reviewed-by: ant
This commit is contained in:
parent
dd72eca1bc
commit
4be64adddd
@ -7910,7 +7910,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
|
||||
res = toFocus.requestFocusInWindow(CausedFocusEvent.Cause.TRAVERSAL_BACKWARD);
|
||||
}
|
||||
}
|
||||
if (!res) {
|
||||
if (clearOnFailure && !res) {
|
||||
if (focusLog.isLoggable(PlatformLogger.FINER)) {
|
||||
focusLog.finer("clear global focus owner");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user