evas: try to fix another breakage by preventing the size of the bounding box to be...
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 May 2012 10:58:12 +0000 (10:58 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 May 2012 10:58:12 +0000 (10:58 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@70693 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_events.c

index ed11314..d90d997 100644 (file)
@@ -77,7 +77,11 @@ _evas_event_object_list_raw_in_get(Evas *e, Eina_List *in,
                            (obj->cur.bounding_box.x <= x &&
                             obj->cur.bounding_box.x + obj->cur.bounding_box.w >= x &&
                             obj->cur.bounding_box.y <= y &&
-                            obj->cur.bounding_box.y + obj->cur.bounding_box.h >= y))
+                            obj->cur.bounding_box.y + obj->cur.bounding_box.h >= y) ||
+                          (obj->cur.geometry.x <= x &&
+                           obj->cur.geometry.y + obj->cur.geometry.w >= x &&
+                           obj->cur.geometry.y <= y &&
+                           obj->cur.geometry.y + obj->cur.geometry.h >= y))
                          in = _evas_event_object_list_in_get
                            (e, in, evas_object_smart_members_get_direct(obj),
                             stop, x, y, &norep);