--- old/src/windows/native/sun/windows/awt_Frame.cpp 2012-09-04 14:52:02.470478700 +0400 +++ new/src/windows/native/sun/windows/awt_Frame.cpp 2012-09-04 14:52:02.113458300 +0400 @@ -984,7 +984,7 @@ } } -BOOL AwtFrame::AwtSetActiveWindow(BOOL isMouseEventCause, UINT hittest) +BOOL AwtFrame::AwtSetActiveWindow(UINT hittest) { if (hittest == HTCLIENT) { // Don't let the actualFocusedWindow to steal focus if: @@ -992,7 +992,7 @@ // b) focus is requested to some of the frame's child. m_actualFocusedWindow = NULL; } - return AwtWindow::AwtSetActiveWindow(isMouseEventCause); + return AwtWindow::AwtSetActiveWindow(); } MsgRouting AwtFrame::WmEnterMenuLoop(BOOL isTrackPopupMenu)