Don't set parmap for the other objects
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 18 Sep 2010 06:30:51 +0000 (06:30 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 18 Sep 2010 06:30:51 +0000 (06:30 +0000)
We are iterating EINA_INLIST_REVERSE_FOREACH(list, obj) in a recursive
function. Don't mark the other objects as havemap_parent if the first
in the list has it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52403 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_events.c

index 47378e3..296b469 100644 (file)
@@ -65,14 +65,13 @@ _evas_event_object_list_in_get(Evas *e, Eina_List *in,
                               }
                             else
                               {
-                                 parmap = 1;
                                  in = _evas_event_object_list_in_get
                                     (e, in,
                                      evas_object_smart_members_get_direct(obj),
                                      stop,
                                      obj->cur.geometry.x + obj->cur.map->mx,
                                      obj->cur.geometry.y + obj->cur.map->my,
-                                     &norep, parmap);
+                                     &norep, 1);
                               }
                          }
                     }