summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_async_events.c
diff options
context:
space:
mode:
authorUlisses Furquim <ulisses@profusion.mobi>2013-01-15 18:00:15 +0000
committerUlisses Furquim <ulisses@profusion.mobi>2013-01-15 18:00:15 +0000
commit028e7e9ed2ca4aad0dd04493019d495f68fa6a31 (patch)
tree6d6fa11811c3bb15ded922f4c5b51c46919b86de /src/lib/evas/canvas/evas_async_events.c
parentb557bd9e0d3f1e056a7c554d9767710e096dace8 (diff)
evas/async_events: missed counting fix in unblocking _process()
SVN revision: 82834
Diffstat (limited to 'src/lib/evas/canvas/evas_async_events.c')
-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