зеркало из https://github.com/mozilla/gecko-dev.git
fix for 35119, mouseDown events never going to popups. Check if a popup is onscreen when we determine if the event should be fired. r=danm.
This commit is contained in:
Родитель
c21b74ff21
Коммит
c679afb0e3
|
@ -479,7 +479,7 @@ void nsMacMessagePump::DoMouseDown(EventRecord &anEvent)
|
|||
case inContent:
|
||||
{
|
||||
::SetPortWindowPort(whichWindow);
|
||||
if (IsWindowHilited(whichWindow))
|
||||
if ( IsWindowHilited(whichWindow) || (gRollupListener && gRollupWidget) )
|
||||
DispatchOSEventToRaptor(anEvent, whichWindow);
|
||||
else {
|
||||
nsMacWindow *mw = mMessageSink->GetNSWindowFromMacWindow(whichWindow);
|
||||
|
|
Загрузка…
Ссылка в новой задаче