# HG changeset patch # User Thinker K.F. Li # Date 1219072083 -28800 # Node ID 23bc382d96837129e7122117c5642a625e9f4643 # Parent 3e3e074120a7add783edd64794b5588099ae61c3 find_geo_in_pos() should return shapes that is not hidden diff -r 3e3e074120a7 -r 23bc382d9683 src/event.c --- a/src/event.c Mon Aug 18 10:46:03 2008 +0800 +++ b/src/event.c Mon Aug 18 23:08:03 2008 +0800 @@ -96,7 +96,7 @@ cr = rdman->cr; for(i = rdman->n_gen_geos - 1; i >= 0; i--) { geo = geos[i]; - if(geo->flags & GEF_DIRTY) + if(geo->flags & GEF_HIDDEN) continue; shape = geo->shape; draw_shape_path(shape, cr); diff -r 3e3e074120a7 -r 23bc382d9683 src/redraw_man.c --- a/src/redraw_man.c Mon Aug 18 10:46:03 2008 +0800 +++ b/src/redraw_man.c Mon Aug 18 23:08:03 2008 +0800 @@ -132,7 +132,7 @@ return ERR; } - rdman->observer_pool = elmpool_new(sizeof(observer_t), 16); + rdman->observer_pool = elmpool_new(sizeof(observer_t), 32); if(rdman->observer_pool == NULL) { elmpool_free(rdman->geo_pool); elmpool_free(rdman->coord_pool); @@ -140,7 +140,7 @@ return ERR; } - rdman->subject_pool = elmpool_new(sizeof(subject_t), 16); + rdman->subject_pool = elmpool_new(sizeof(subject_t), 32); if(rdman->subject_pool == NULL) { elmpool_free(rdman->geo_pool); elmpool_free(rdman->coord_pool);