• darin's avatar
    Reviewed by Trey. · 2e80479f
    darin authored
    	- fixed regression where clicked-on buttons were getting keyboard focus
    
            * kwq/KWQKHTMLPart.mm:
    	(KWQKHTMLPart::khtmlMousePressEvent): Check clickCount here the way NSWindow does.
    	See below for rationale.
    	(KWQKHTMLPart::passWidgetMouseDownEventToWidget): I didn't read the code in
    	[NSWindow sendEvent:] that I was stealing carefully enough. The old needsPanelToBecomeKey
    	flag is used to decide whether something should really get first responder, and I need to
    	do check that too. And while I was in here, did the same clickCount check that NSWindow
    	does for good measure.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2e80479f
ChangeLog-2005-08-23 76.8 KB