evas/evas_events - repeat events should not be affected by children.
authorChunEon Park <chuneon.park@samsung.com>
Wed, 21 Dec 2011 08:32:57 +0000 (17:32 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Wed, 21 Dec 2011 08:32:57 +0000 (17:32 +0900)
Fixed to object passes events to the next object in the same layer if the repeat_events is enabled

src/lib/canvas/evas_events.c

index d0f473a..9d63759 100644 (file)
@@ -69,8 +69,11 @@ _evas_event_object_list_in_get(Evas *e, Eina_List *in,
                     }
                   if (norep)
                     {
-                       if (!obj->repeat_events) *no_rep = 1;
-                       return in;
+                       if (!obj->repeat_events)
+                         {
+                            *no_rep = 1;
+                            return in;
+                         }
                     }
                }
              else