eda = eda_client->eda;
ec = eda_client->ec;
+ e_comp_ec_list_lock();
if (EINA_INLIST_GET(ec)->next) //check current layer
{
EINA_INLIST_FOREACH(EINA_INLIST_GET(ec)->next, ec2)
if (!e_object_is_del(E_OBJECT(ec2)))
{
get_above_data->above_ec = ec2;
+ e_comp_ec_list_unlock();
return;
}
}
}
+ e_comp_ec_list_unlock();
if (ec->layer == E_LAYER_CLIENT_CURSOR) return;
if (e_util_client_layer_map(ec->layer) == 9999) return;
eda = eda_client->eda;
ec = eda_client->ec;
+ e_comp_ec_list_lock();
if (EINA_INLIST_GET(ec)->prev) //check current layer
{
for (l = EINA_INLIST_GET(ec)->prev; l; l = l->prev)
if (!e_object_is_del(E_OBJECT(ec2)))
{
get_below_data->below_ec = ec2;
+ e_comp_ec_list_unlock();
return;
}
}
}
+ e_comp_ec_list_unlock();
// check layer validation
ec_layer = ec->layer;
eda = eda_client->eda;
ec = eda_client->ec;
+ e_comp_ec_list_lock();
if (EINA_INLIST_GET(ec)->next) //check current layer
{
EINA_INLIST_FOREACH(EINA_INLIST_GET(ec)->next, ec2)
(ec2->frame))
{
get_visible_above_data->above_ec = ec2;
+ e_comp_ec_list_unlock();
return;
}
}
}
+ e_comp_ec_list_unlock();
if (ec->layer == E_LAYER_CLIENT_CURSOR) return;
if (e_util_client_layer_map(ec->layer) == 9999) return;
E_Layer ec_layer, ec_layer_cw;
int cw_layer;
+ e_comp_ec_list_lock();
eda_client = wl_container_of(listener, eda_client, client_get_visible_below);
eda = eda_client->eda;
ec = eda_client->ec;
(ec2->frame))
{
get_visible_below_data->below_ec = ec2;
+ e_comp_ec_list_unlock();
return;
}
}
}
+ e_comp_ec_list_unlock();
// check layer validation
ec_layer = ec->layer;
x = e_comp_canvas_layer_map(ec->layer);
if (x > 0) x--;
+ e_comp_ec_list_lock();
for (; x >= e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x--)
{
if (!eda->layers[x].clients) continue;
(ec2->frame))
{
get_visible_below_data->below_ec = ec2;
+ e_comp_ec_list_unlock();
return;
}
}
}
+ e_comp_ec_list_unlock();
}
static void