зеркало из https://github.com/mozilla/gecko-dev.git
Bug 424809 - "nsCocoaWindow.mm causes build errors with GCC 4.2 on OS X" [p=darkweaver@gmail.com (Sean Fleming) r=hwaara sr=vlad a1.9b5=beltzner]
This commit is contained in:
Родитель
3cbc4b60ae
Коммит
3a1fb992e5
|
@ -1768,6 +1768,7 @@ NS_IMETHODIMP nsCocoaWindow::EndSecureKeyboardInput()
|
|||
case NSLeftMouseDragged:
|
||||
case NSRightMouseDragged:
|
||||
case NSOtherMouseDragged:
|
||||
{
|
||||
// Drop all mouse events if a modal window has appeared above us.
|
||||
// This helps make us behave as if the OS were running a "real" modal
|
||||
// event loop.
|
||||
|
@ -1782,6 +1783,7 @@ NS_IMETHODIMP nsCocoaWindow::EndSecureKeyboardInput()
|
|||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -2316,6 +2318,7 @@ already_AddRefed<nsIDOMElement> GetFocusedElement()
|
|||
case NSLeftMouseDragged:
|
||||
case NSRightMouseDragged:
|
||||
case NSOtherMouseDragged:
|
||||
{
|
||||
// Drop all mouse events if a modal window has appeared above us.
|
||||
// This helps make us behave as if the OS were running a "real" modal
|
||||
// event loop.
|
||||
|
@ -2330,6 +2333,7 @@ already_AddRefed<nsIDOMElement> GetFocusedElement()
|
|||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче