diff src/event.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 92cfabe22d6b
children 1695a4b02b14
line wrap: on
line diff
--- 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);