summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r--src/lib/evas/canvas/evas_async_events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_async_events.c b/src/lib/evas/canvas/evas_async_events.c
index 3b4e18a..ec4be9f 100644
--- a/src/lib/evas/canvas/evas_async_events.c
+++ b/src/lib/evas/canvas/evas_async_events.c
@@ -177,13 +177,13 @@ _evas_async_events_process_single(void)
177EAPI int 177EAPI int
178evas_async_events_process(void) 178evas_async_events_process(void)
179{ 179{
180 int count = 0; 180 int nr, count = 0;
181 181
182 if (_fd_read == -1) return 0; 182 if (_fd_read == -1) return 0;
183 183
184 _evas_async_events_fork_handle(); 184 _evas_async_events_fork_handle();
185 185
186 while (_evas_async_events_process_single() > 0) count++; 186 while ((nr = _evas_async_events_process_single()) > 0) count += nr;
187 187
188 evas_cache_image_wakeup(); 188 evas_cache_image_wakeup();
189 189