if (!wd) return;
if (ev->button != 1) return;
+ if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return ;
if (wd->animator)
{
ecore_animator_del(wd->animator);
if (!wd) return;
if (ev->button != 1) return;
+ if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return ;
wd->down = 0;
evas_object_geometry_get(data, &x, &y, &w, &h);
wd->x = ev->canvas.x - x;
if (!wd) return;
if (!wd->down) return;
+ if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return ;
evas_object_geometry_get(data, &x, &y, &w, &h);
wd->x = ev->cur.canvas.x - x;
wd->y = ev->cur.canvas.y - y;
}
else return;
}
+ ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
if (wd->job) ecore_job_del(wd->job);
wd->job = ecore_job_add(_update_job, wd);
}