only add back shape rects for comp objects if pass_events is not set

SVN revision: 83813
This commit is contained in:
Mike Blumenkrantz 2013-02-11 09:38:08 +00:00
parent fd0f6557ed
commit cb79b14974
1 changed files with 2 additions and 2 deletions

View File

@ -3388,7 +3388,7 @@ _e_comp_shapes_update_job(E_Comp *c)
eina_tiler_rect_del(tb, &(Eina_Rectangle){x, y, w, h});
SHAPE_INF("DEL: %d,%d@%dx%d", x, y, w, h);
}
else if (evas_object_visible_get(ch))
else if (evas_object_visible_get(ch) && (!evas_object_pass_events_get(o)))
{
evas_object_geometry_get(o, &x, &y, &w, &h);
eina_tiler_rect_add(tb, &(Eina_Rectangle){x, y, w, h});
@ -3397,7 +3397,7 @@ _e_comp_shapes_update_job(E_Comp *c)
}
}
else if (layout && evas_object_visible_get(o))
else if (layout && evas_object_visible_get(o) && (!evas_object_pass_events_get(o)))
{
if (_e_comp_shapes_update_object_checker_function_thingy(c, o)) continue;
SHAPE_INF("OBJ: %p:%s", o, evas_object_name_get(o));