add check for stacking errors in non-release builds

This commit is contained in:
Mike Blumenkrantz 2014-05-10 17:12:35 -04:00
parent 81038f8d02
commit 5434656751
1 changed files with 7 additions and 0 deletions

View File

@ -197,6 +197,13 @@ _e_comp_object_layers_add(E_Comp_Object *cw, E_Comp_Object *above, E_Comp_Object
cw->comp->layers[cw->layer].clients = eina_inlist_append(cw->comp->layers[cw->layer].clients, EINA_INLIST_GET(cw->ec));
}
cw->comp->layers[cw->layer].clients_count++;
#ifndef E19_RELEASE_BUILD
if (layer_cw)
{
if (cw->comp->layers[cw->layer].obj == e_client_below_get(cw->ec)->frame)
CRI("ACK!");
}
#endif
}
static void