ecore: Check timers when not idling also
authormike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Jul 2011 02:34:53 +0000 (02:34 +0000)
committermike_m <mike_m@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Jul 2011 02:34:53 +0000 (02:34 +0000)
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61782 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_main.c

index 37333c7..41422a5 100644 (file)
@@ -492,6 +492,9 @@ _ecore_main_gsource_prepare(GSource *source __UNUSED__, gint *next_time)
 
    if (!ecore_idling && !_ecore_glib_idle_enterer_called)
      {
+        while (_ecore_timer_call(_ecore_time_loop_time));
+        _ecore_timer_cleanup();
+
         _ecore_idle_enterer_call();
         _ecore_throttle();
         _ecore_glib_idle_enterer_called = FALSE;