static TouchCommand tc;
static DragTouchCommand dtc;
+Eina_Bool during_drag = EINA_FALSE;
static int _move_count = -1;
static int _zw = 0;
dtc->ts++;
dtc->ts->dispatch_func(dtc->type, dtc->x2, dtc->y2, 0);
+ during_drag = EINA_FALSE;
return ECORE_CALLBACK_CANCEL;
}
void _e_dispatch_drag_event(int x1, int y1, int x2, int y2, int steps, double hold_time)
{
+ if (during_drag)
+ return;
+
E_Zone *zone;
zone = e_zone_current_get();
dtc.sequence_counter = 0;
dtc.ts = _ts_drag;
+ during_drag = EINA_TRUE;
ecore_timer_add(0.0, _drag_touch_sequence_timer, &dtc);
}