mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Undoing Pav's early M15 Mac focus regression
This commit is contained in:
parent
bdf9e8f750
commit
1e7aa5e347
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user