summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore/ecore_anim.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index fb6501c308..4c614c427d 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -110,7 +110,9 @@ static Eina_Spinlock tick_queue_lock;
110static int tick_queue_count = 0; 110static int tick_queue_count = 0;
111static Eina_Bool tick_skip = EINA_FALSE; 111static Eina_Bool tick_skip = EINA_FALSE;
112 112
113#ifndef _WIN32
113extern volatile int exit_signal_received; 114extern volatile int exit_signal_received;
115#endif
114 116
115static void 117static void
116_tick_send(signed char val) 118_tick_send(signed char val)
@@ -369,7 +371,10 @@ _timer_tick_notify(void *data EINA_UNUSED, Ecore_Thread *thread EINA_UNUSED, voi
369 if ((!tick_skip) || (tick_queued == 1)) 371 if ((!tick_skip) || (tick_queued == 1))
370 { 372 {
371 ecore_loop_time_set(*t); 373 ecore_loop_time_set(*t);
372 if (!exit_signal_received) _do_tick(); 374#ifndef _WIN32
375 if (!exit_signal_received)
376#endif
377 _do_tick();
373 _ecore_animator_flush(); 378 _ecore_animator_flush();
374 } 379 }
375 pt = *t; 380 pt = *t;
@@ -937,7 +942,10 @@ ecore_animator_custom_tick(void)
937{ 942{
938 EINA_MAIN_LOOP_CHECK_RETURN; 943 EINA_MAIN_LOOP_CHECK_RETURN;
939 if (src != ECORE_ANIMATOR_SOURCE_CUSTOM) return; 944 if (src != ECORE_ANIMATOR_SOURCE_CUSTOM) return;
940 if (!exit_signal_received) _do_tick(); 945#ifndef _WIN32
946 if (!exit_signal_received)
947#endif
948 _do_tick();
941 _ecore_animator_flush(); 949 _ecore_animator_flush();
942} 950}
943 951