if (offscreen_parent)
ELOGF("COMP", " |offscreen_parent:%p", ec, offscreen_parent);
- if (epc)
- {
- if (epc->frame)
- {
- E_Layer layer = e_client_layer_get(epc);
- if (layer > E_LAYER_BOTTOM) e_client_layer_set(ec, layer);
- }
-
- if (epc->comp_data)
- {
- /* append this client to the parents subsurface list */
- epc->comp_data->sub.list =
- eina_list_append(epc->comp_data->sub.list, ec);
- epc->comp_data->sub.list_changed = EINA_TRUE;
- }
-
- /* TODO: add callbacks ?? */
- }
+ if (epc->frame)
+ {
+ E_Layer layer = e_client_layer_get(epc);
+ if (layer > E_LAYER_BOTTOM) e_client_layer_set(ec, layer);
+ }
+
+ if (epc->comp_data)
+ {
+ /* append this client to the parents subsurface list */
+ epc->comp_data->sub.list =
+ eina_list_append(epc->comp_data->sub.list, ec);
+ epc->comp_data->sub.list_changed = EINA_TRUE;
+ }
+
+ /* TODO: add callbacks ?? */
ec->comp_data->surface = surface_resource;
ec->comp_data->sub.data = sdata;