зеркало из https://github.com/mozilla/pjs.git
Undoing Pav's early M15 Mac focus regression
This commit is contained in:
Родитель
3d351d104d
Коммит
dc9e6db63e
|
@ -1161,9 +1161,6 @@ PRBool nsMacEventHandler::HandleMouseDownEvent(EventRecord& aOSEvent)
|
|||
nsMouseEvent mouseActivateEvent;
|
||||
ConvertOSEventToMouseEvent(aOSEvent, mouseActivateEvent, NS_MOUSE_ACTIVATE);
|
||||
widgetHit->DispatchMouseEvent(mouseActivateEvent);
|
||||
//if( mouseActivateEvent.acceptActivation )
|
||||
gEventDispatchHandler.SetFocus(widgetHit);
|
||||
//gEventDispatchHandler.Special(widgetHit);
|
||||
}
|
||||
|
||||
// dispatch the event
|
||||
|
|
Загрузка…
Ссылка в новой задаче