--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdisplaybase.cpp Mon May 03 12:27:20 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtdisplaybase.cpp Fri May 14 15:47:24 2010 +0300
@@ -790,7 +790,7 @@
return iRevertPointerEvent || iLongTapDetected;
}
-void ASwtDisplayBase::SetRevertPointerEvent(TBool aStatus)
+void ASwtDisplayBase::SetRevertPointerEvent(TBool aStatus)
{
iRevertPointerEvent = aStatus;
}
@@ -1082,6 +1082,8 @@
{
iLongTapControl = NULL;
iLongTapDetected = EFalse;
+
+ // The Shell is required to already have handled the pointer down.
MSwtControl* ctrl = iUiUtils->GetPointerGrabbingControl();
// No long tap animation on scrollbars or trimings.
@@ -1091,7 +1093,7 @@
iLongTapControl = ctrl;
}
}
-
+
iLongTapPointerEvent = aPointerEvent;
if (iLongTapControl)
@@ -1128,7 +1130,7 @@
return;
}
- // Will be switched back after the popup menu closes
+ // Will be switched back after the popup menu closes
// and the late pointer up event was delivered.
iLongTapDetected = ETrue;
@@ -1148,7 +1150,7 @@
event.iType = TPointerEvent::EButton1Up;
iLongTapControl->HandlePointerEventL(event); // revert
}
-
+
// Just to clear the flags.
CancelLongTapAnimation();
}