Fix for bug 321816: Triple-clicking does not select the line anymore

r+sr=roc
This commit is contained in:
emaijala%kolumbus.fi 2006-01-07 18:38:35 +00:00
Родитель 95468c06a9
Коммит 090efe309b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -5915,8 +5915,8 @@ PRBool nsWindow::DispatchMouseEvent(PRUint32 aEventType, WPARAM wParam, LPARAM l
gLastMouseMovePoint.y = mpScreen.y; gLastMouseMovePoint.y = mpScreen.y;
} }
PRBool insideMovementThreshold = (abs(gLastMousePoint.x - mpScreen.x) < (short)::GetSystemMetrics(SM_CXDOUBLECLK)) && PRBool insideMovementThreshold = (abs(gLastMousePoint.x - eventPoint.x) < (short)::GetSystemMetrics(SM_CXDOUBLECLK)) &&
(abs(gLastMousePoint.y - mpScreen.y) < (short)::GetSystemMetrics(SM_CYDOUBLECLK)); (abs(gLastMousePoint.y - eventPoint.y) < (short)::GetSystemMetrics(SM_CYDOUBLECLK));
BYTE eventButton; BYTE eventButton;
switch (aEventType) { switch (aEventType) {