forked from enlightenment/efl
ecore_evas: use ecore_timer_loop_add for idle timeout update
This shouldn't need "exact" time, so use a loop time based timer to potentially save a syscall on archs that don't have a vdso. @optimize
This commit is contained in:
parent
7819333875
commit
964844821d
|
@ -3126,7 +3126,7 @@ _ecore_evas_idle_timeout_update(Ecore_Evas *ee)
|
|||
if (ee->engine.idle_flush_timer)
|
||||
ecore_timer_del(ee->engine.idle_flush_timer);
|
||||
ee->engine.idle_flush_timer =
|
||||
ecore_timer_add(IDLE_FLUSH_TIME, _ecore_evas_cb_idle_flush, ee);
|
||||
ecore_timer_loop_add(IDLE_FLUSH_TIME, _ecore_evas_cb_idle_flush, ee);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue