In Ecore touch cancel evnet callback function,
the function does not have correct x,y coordinates. Just have (0,0).
Because ecore_wl touch event does not have the information.
For that, I trying to fix ecore_wl touch event.
The related patch is "https://review.tizen.org/gerrit/#/c/152904/"
After that, touch event callback function will receive correct coordinates data.
This patch is for that.
Change-Id: I310beb344d29ee2a38f15dd0184a77ad372252be
if( touchEvent->window == (unsigned int)ecore_wl_window_id_get( handler->mImpl->mWindow ) )
{
Integration::Point point;
- point.SetDeviceId( touchEvent->multi.device );
point.SetState( PointState::INTERRUPTED );
- point.SetScreenPosition( Vector2( 0.0f, 0.0f ) );
+ point.SetScreenPosition( Vector2( touchEvent->x, touchEvent->y ) );
handler->SendEvent( point, touchEvent->timestamp );
DALI_LOG_INFO( gImfLogging, Debug::General, "EVENT EcoreEventMouseButtonCancel\n" );