forked from enlightenment/enlightenment
Change time unit to milli-second from second when send event of frame done for wayland client.
Summary: that's because weston sample client supposed that the time passed by frame callback is milli-second. Reviewers: devilhorns, zmike, raster CC: cedric Differential Revision: https://phab.enlightenment.org/D1133
This commit is contained in:
parent
6a1ef8b846
commit
0667d4ce34
|
@ -710,7 +710,7 @@ _e_comp_wl_cb_render_post(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, void *
|
||||||
if (!ec->wl_comp_data) continue;
|
if (!ec->wl_comp_data) continue;
|
||||||
EINA_LIST_FREE(ec->wl_comp_data->frames, cb)
|
EINA_LIST_FREE(ec->wl_comp_data->frames, cb)
|
||||||
{
|
{
|
||||||
wl_callback_send_done(cb, ecore_loop_time_get());
|
wl_callback_send_done(cb, (ecore_loop_time_get() * 1000));
|
||||||
wl_resource_destroy(cb);
|
wl_resource_destroy(cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue