提交 77f7a830 编写于 作者: A ant

6599270: Using EmbeddedFrame in SWT leads to a hang

Summary: Excluding EmbeddedFrame from the workaround of activating a toplevel in not foreground process.
Reviewed-by: son
上级 a9e10d41
......@@ -408,8 +408,9 @@ MsgRouting AwtFrame::WmShowWindow(BOOL show, UINT status)
* message. This breaks Java focus. To workaround the problem we
* set the toplevel being shown foreground programmatically.
* The fix is localized to non-foreground process case only.
* (See also: 6599270)
*/
if (show == TRUE && status == 0) {
if (!IsEmbeddedFrame() && show == TRUE && status == 0) {
HWND fgHWnd = ::GetForegroundWindow();
if (fgHWnd != NULL) {
DWORD fgProcessID;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册