diff src/redraw_man.c @ 75:23bc382d9683

find_geo_in_pos() should return shapes that is not hidden
author Thinker K.F. Li <thinker@branda.to>
date Mon, 18 Aug 2008 23:08:03 +0800
parents 9ab15ebc9061
children 5bcb329a5157
line wrap: on
line diff
--- 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);