Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64951
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Gesture_Info *gesture = wd->gesture[g_type];
if (!gesture ) return;
Gesture_Info *gesture = wd->gesture[g_type];
if (!gesture ) return;
+ /* When continues enable = TRUE a gesture may START on MOVE event */
+ /* We don't allow this to happen with the if-statement below. */
+ /* When continues enable = FALSE a gesture may START on DOWN only */
+ /* Therefor it would NOT start on MOVE event. */
+ /* NOTE that touched list is updated AFTER this function returns */
+ /* so (count == 0) when we get here on first touch on surface. */
if ((wd->glayer_continues_enable) && (!eina_list_count(wd->touched)))
return; /* Got move on mouse-over move */
if ((wd->glayer_continues_enable) && (!eina_list_count(wd->touched)))
return; /* Got move on mouse-over move */
Gesture_Info *gesture = wd->gesture[g_type];
if (!gesture ) return;
Gesture_Info *gesture = wd->gesture[g_type];
if (!gesture ) return;
+ /* When continues enable = TRUE a gesture may START on MOVE event */
+ /* We don't allow this to happen with the if-statement below. */
+ /* When continues enable = FALSE a gesture may START on DOWN only */
+ /* Therefor it would NOT start on MOVE event. */
+ /* NOTE that touched list is updated AFTER this function returns */
+ /* so (count == 0) when we get here on first touch on surface. */
if ((wd->glayer_continues_enable) && (!eina_list_count(wd->touched)))
return; /* Got move on mouse-over move */
if ((wd->glayer_continues_enable) && (!eina_list_count(wd->touched)))
return; /* Got move on mouse-over move */