提交 852ba89d 编写于 作者: D dcherepanov

8001161: mac: EmbeddedFrame doesn't become active window

Reviewed-by: ant
上级 ac1f5b78
......@@ -119,7 +119,9 @@ public class CEmbeddedFrame extends EmbeddedFrame {
public void handleWindowFocusEvent(boolean parentWindowActive) {
this.parentWindowActive = parentWindowActive;
if (focused) {
// ignore focus "lost" native request as it may mistakenly
// deactivate active window (see 8001161)
if (focused && parentWindowActive) {
responder.handleWindowFocusEvent(parentWindowActive, null);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册