Bug 473662 - disable tap-and-hold on windows mobile. r=emaijala sr=pavlov

This commit is contained in:
Doug Turner 2009-01-28 15:38:14 -08:00
Родитель fb762d0d05
Коммит 008fbc2159
1 изменённых файлов: 0 добавлений и 19 удалений

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

@ -4526,25 +4526,6 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
//SetFocus(); // this is bad
//RelayMouseEvent(msg,wParam, lParam);
{
#ifdef WINCE
if (!gRollupListener && !gRollupWidget)
{
SHRGINFO shrg;
shrg.cbSize = sizeof(shrg);
shrg.hwndClient = mWnd;
shrg.ptDown.x = LOWORD(lParam);
shrg.ptDown.y = HIWORD(lParam);
shrg.dwFlags = SHRG_RETURNCMD;
if (SHRecognizeGesture(&shrg) == GN_CONTEXTMENU)
{
result = DispatchMouseEvent(NS_MOUSE_BUTTON_DOWN, wParam, lParam,
PR_FALSE, nsMouseEvent::eRightButton);
result = DispatchMouseEvent(NS_MOUSE_BUTTON_UP, wParam, lParam,
PR_FALSE, nsMouseEvent::eRightButton);
break;
}
}
#endif
// check whether IME window do mouse operation
if (IMEMouseHandling(IMEMOUSE_LDOWN, lParam))
break;