only add back shape rects for comp objects if pass_events is not set
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 11 Feb 2013 09:38:08 +0000 (09:38 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 11 Feb 2013 09:38:08 +0000 (09:38 +0000)
SVN revision: 83813

src/bin/e_comp.c

index 2447a10..0e57316 100644 (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));