fix infinite focus loop when using Display.setParent() + JWS + Linux.
This commit is contained in:
parent
4eb94622ca
commit
7d1a770cff
|
@ -846,7 +846,7 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
if (parent_focus) {
|
||||
setInputFocusUnsafe(current_window);
|
||||
}
|
||||
else {
|
||||
else if (xembedded) {
|
||||
setInputFocusUnsafe(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue