Fix for bug 321816: Triple-clicking does not select the line anymore
r+sr=roc git-svn-id: svn://10.0.0.236/trunk@187131 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
214c8bc3d5
commit
a81a451ae3
@ -5915,8 +5915,8 @@ PRBool nsWindow::DispatchMouseEvent(PRUint32 aEventType, WPARAM wParam, LPARAM l
|
||||
gLastMouseMovePoint.y = mpScreen.y;
|
||||
}
|
||||
|
||||
PRBool insideMovementThreshold = (abs(gLastMousePoint.x - mpScreen.x) < (short)::GetSystemMetrics(SM_CXDOUBLECLK)) &&
|
||||
(abs(gLastMousePoint.y - mpScreen.y) < (short)::GetSystemMetrics(SM_CYDOUBLECLK));
|
||||
PRBool insideMovementThreshold = (abs(gLastMousePoint.x - eventPoint.x) < (short)::GetSystemMetrics(SM_CXDOUBLECLK)) &&
|
||||
(abs(gLastMousePoint.y - eventPoint.y) < (short)::GetSystemMetrics(SM_CYDOUBLECLK));
|
||||
|
||||
BYTE eventButton;
|
||||
switch (aEventType) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user