ecore_time_get()'s return value is second unit.
But we need millisecond uniti of value.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Id14c430c720cea88aa837a2c98b99df32b0f2e1e
e->direction = ECORE_DETENT_DIRECTION_CLOCKWISE;
else
e->direction = ECORE_DETENT_DIRECTION_COUNTER_CLOCKWISE;
- e->timestamp = (unsigned int)ecore_time_get();
+ e->timestamp = (int)(ecore_time_get() * 1000.0);
DBG("detent: dir: %d, time: %d", e->direction, e->timestamp);
ecore_event_add(ECORE_EVENT_DETENT_ROTATE, e, _ecore_wl_input_detent_rotate_free, NULL);
break;