jdk/src/windows/native/sun/windows/awt_TrayIcon.cpp
changeset 1962 6c293d33645b
parent 1954 b93b85df3211
child 1963 16c7a0981e65
equal deleted inserted replaced
1961:436a5a828d9f 1962:6c293d33645b
   391     if (lastComp != this || x != lastX || y != lastY) {
   391     if (lastComp != this || x != lastX || y != lastY) {
   392         lastComp = this;
   392         lastComp = this;
   393         lastX = x;
   393         lastX = x;
   394         lastY = y;
   394         lastY = y;
   395         AwtComponent::InitMessage(&msg, lastMessage, flags, MAKELPARAM(x, y), x, y);
   395         AwtComponent::InitMessage(&msg, lastMessage, flags, MAKELPARAM(x, y), x, y);
   396         if ((flags & AwtComponent::ALL_MK_BUTTONS) != 0) {
   396         if ((flags & ALL_MK_BUTTONS) != 0) {
   397             m_mouseButtonClickAllowed = 0;
   397             m_mouseButtonClickAllowed = 0;
   398         } else {
   398         } else {
   399             SendMouseEvent(java_awt_event_MouseEvent_MOUSE_MOVED, TimeHelper::windowsToUTC(::GetTickCount()), x, y,
   399             SendMouseEvent(java_awt_event_MouseEvent_MOUSE_MOVED, TimeHelper::windowsToUTC(::GetTickCount()), x, y,
   400                            AwtComponent::GetJavaModifiers(), 0, JNI_FALSE,
   400                            AwtComponent::GetJavaModifiers(), 0, JNI_FALSE,
   401                            java_awt_event_MouseEvent_NOBUTTON, &msg);
   401                            java_awt_event_MouseEvent_NOBUTTON, &msg);