--- old/src/windows/native/sun/windows/awt_Component.cpp 2013-09-03 18:40:44.000000000 +0400 +++ new/src/windows/native/sun/windows/awt_Component.cpp 2013-09-03 18:40:44.000000000 +0400 @@ -713,6 +713,10 @@ POINT p = { 0, 0 }; AwtComponent *comp = NULL; + if ((comp = AwtFrame::sm_lwFrameUnderMouse) != NULL) { + goto found; + } + if (useCache) { if (sm_cursorOn == NULL) { return NULL;