зеркало из https://github.com/mozilla/gecko-dev.git
Fix for Win32 part of bug 321098: onmouseover alert() causing multiple stacked alert dialogs
r+sr=roc
This commit is contained in:
Родитель
349a000e0f
Коммит
7684d5f656
|
@ -6064,8 +6064,6 @@ PRBool nsWindow::DispatchMouseEvent(PRUint32 aEventType, WPARAM wParam, LPARAM l
|
|||
|
||||
// call the event callback
|
||||
if (nsnull != mEventCallback) {
|
||||
result = DispatchWindowEvent(&event);
|
||||
|
||||
if (aEventType == NS_MOUSE_MOVE) {
|
||||
MouseTrailer::GetSingleton().Disable();
|
||||
if (!mIsInMouseCapture) {
|
||||
|
@ -6096,6 +6094,8 @@ PRBool nsWindow::DispatchMouseEvent(PRUint32 aEventType, WPARAM wParam, LPARAM l
|
|||
}
|
||||
}
|
||||
|
||||
result = DispatchWindowEvent(&event);
|
||||
|
||||
// Release the widget with NS_IF_RELEASE() just in case
|
||||
// the context menu key code in nsEventListenerManager::HandleEvent()
|
||||
// released it already.
|
||||
|
|
Загрузка…
Ссылка в новой задаче