Making the mac focus event flow the same as windows. This is a Good Thing.
git-svn-id: svn://10.0.0.236/trunk@54890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
493237dbd1
commit
fe665bdefe
@ -1133,8 +1133,9 @@ PRBool nsMacEventHandler::HandleMouseDownEvent(
|
||||
nsMouseEvent mouseActivateEvent;
|
||||
ConvertOSEventToMouseEvent(aOSEvent, mouseActivateEvent, NS_MOUSE_ACTIVATE);
|
||||
widgetHit->DispatchMouseEvent(mouseActivateEvent);
|
||||
if( mouseActivateEvent.acceptActivation )
|
||||
gEventDispatchHandler.SetFocus(widgetHit);
|
||||
//if( mouseActivateEvent.acceptActivation )
|
||||
//gEventDispatchHandler.SetFocus(widgetHit);
|
||||
//gEventDispatchHandler.Special(widgetHit);
|
||||
}
|
||||
|
||||
// dispatch the event
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user