зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 321816: Triple-clicking does not select the line anymore
r+sr=roc
This commit is contained in:
Родитель
95468c06a9
Коммит
090efe309b
|
@ -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) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче