N_SE-34743 : check if multi point touched during touch previewing
authorminkyu kim <imetjade.kim@samsung.com>
Wed, 17 Apr 2013 05:50:22 +0000 (14:50 +0900)
committerminkyu kim <imetjade.kim@samsung.com>
Wed, 17 Apr 2013 05:50:22 +0000 (14:50 +0900)
Change-Id: I0b0aa40d8fc37c827b067faa850529b45e65c56b

src/ui/FUi_UiTouchEvent.cpp

index 37862c3..4e42fbd 100644 (file)
@@ -447,6 +447,12 @@ _UiTouchEvent::FirePreviewListener(const _ITouchEventPreviewer* pListener, const
 
        FloatPoint point = GetRelativePoint(*pControl, pTouchInfo->GetCurrentPosition());
 
+       if (!pControl->IsMultiTouchEnabled() && pTouchInfo->GetPointId() > 0)
+       {
+               isFiltered = false;
+               return E_SUCCESS;
+       }
+
        _TouchInfo touchInfo(pTouchInfo->GetPointId(), pTouchInfo->GetTouchStatus(), point, false, pTouchInfo->GetTimeStamp());
 
        _UiTouchEventDelivery eventDelivery = _UI_TOUCH_EVENT_DELIVERY_NO;