incomplete "clicks" mouse message filtering
|Reported by:||bonefish||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
The "clicks" field of mouse messages should not indicate a multi-click, if:
- The previous click targeted another view.
- The modifiers changed between the click.
The effect of the missing handling of the former case can for instance be seen in Terminal: Clicking on the unused part of the menu bar and then clicking on a tab opens the title editing dialog (which is done when the "clicks" field is 2). BeOS R5 behaves the same way, BTW.
The latter would prevent that a click without modifiers followed by a click with Cmd-Ctrl held down minimized the window instead of bringing it to front.