awesome debug code! Here fresh and clean!
This commit is contained in:
parent
5370793399
commit
49fab9d1df
|
@ -1730,3 +1730,31 @@ e_zone_for_id_get(const char *id)
|
||||||
|
|
||||||
return NULL;
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue