In touch bezel devices when down is generated and up happens on touch bezel, mouse up with (0,0)
cordinate is sent. Due to which length threshold is fulfilled and flick gesture comes.
Change-Id: I0f634c052a4a0f394dcf92243f23e8e75f69f46d
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
if (cov->flick_gesture.finger[i] == ev->multi.device)
break;
}
+ if (ev->x == 0 && ev->y == 0)
+ {
+ ERROR("Gesture aborted.");
+ cov->flick_gesture.state = GESTURE_ABORTED;
+ goto end;
+ }
if (i == cov->flick_gesture.n_fingers)
{
DEBUG("Finger id not recognized. Gesture aborted.");