提交 fc0db363 编写于 作者: A ant

6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11

Reviewed-by: art, dcherepanov
上级 a3757db6
......@@ -133,7 +133,7 @@ public class XEmbedClientHelper extends XEmbedHelper implements XEventDispatcher
}
void handleFocusIn(int detail) {
if (embedded.focusAllowedFor()) {
embedded.handleWindowFocusInSync(0);
embedded.handleWindowFocusIn(0);
}
switch(detail) {
case XEMBED_FOCUS_CURRENT:
......@@ -205,7 +205,7 @@ public class XEmbedClientHelper extends XEmbedHelper implements XEventDispatcher
// embedded is an active window before sending WINDOW_LOST_FOCUS
// to shared code
if (XKeyboardFocusManagerPeer.getCurrentNativeFocusedWindow() == embedded.target) {
embedded.handleWindowFocusOutSync(null, 0);
embedded.handleWindowFocusOut(null, 0);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册