aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-07-19 14:13:56 (GMT)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-07-19 14:13:56 (GMT)
commit49fab9d1df66a7968e989742976d8c1601384682 (patch)
tree34c47f4e3f04c610ff7dcfe5c08176bfc43c9577
parentSysinfo Gadget: More thread vs object lifetime work: Make threads no longer d... (diff)
downloadenlightenment-devs/bu5hm4n/debug_code.tar.gz
awesome debug code! Here fresh and clean!devs/bu5hm4n/debug_code
-rw-r--r--src/bin/e_zone.c30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c
index b75bdc8..ad37329 100644
--- a/src/bin/e_zone.c
+++ b/src/bin/e_zone.c
@@ -1303,7 +1303,7 @@ e_zone_useful_geometry_get(E_Zone *zone,
zone->useful_geometry[1].h = zh;
zone->useful_geometry_changed =
!!memcmp(&zone->useful_geometry[0], &zone->useful_geometry[1], sizeof(Eina_Rectangle));
-
+
}
zone->useful_geometry_dirty = 0;
@@ -1730,3 +1730,31 @@ e_zone_for_id_get(const char *id)
return NULL;
}
+
+EAPI void
+_debug_code(void)
+{
+ E_Zone *zone;
+ Eina_List *n;
+
+ EINA_LIST_FOREACH(e_comp->zones, n, zone)
+ {
+ printf("%p: %d %d\n", zone,
+ evas_object_layer_get(zone->bg_event_object),
+ evas_object_layer_get(zone->bg_clip_object));
+ }
+}
+
+EAPI void
+_repair_code(void)
+{
+ E_Zone *zone;
+ Eina_List *n;
+
+ EINA_LIST_FOREACH(e_comp->zones, n, zone)
+ {
+ evas_object_layer_set(zone->bg_event_object, E_LAYER_BG);
+ evas_object_layer_set(zone->bg_clip_object, E_LAYER_BG);
+ }
+
+}