if (!e_object_is_del(E_OBJECT(ec2)))
return ec2;
}
- if (ec->layer == E_LAYER_CLIENT_PRIO) return NULL;
+ if (ec->layer == E_LAYER_CLIENT_NOTIFICATION_HIGH) return NULL;
if (e_comp_canvas_client_layer_map(ec->layer) == 9999) return NULL;
/* go up the layers until we find one */
- for (x = e_comp_canvas_layer_map(ec->layer) + 1; x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); x++)
+ for (x = e_comp_canvas_layer_map(ec->layer) + 1; x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); x++)
{
if (!ec->comp->layers[x].clients) continue;
EINA_INLIST_FOREACH(ec->comp->layers[x].clients, ec2)
EINA_SAFETY_ON_NULL_RETURN_VAL(c, NULL);
- for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); x++)
+ for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); x++)
{
E_Client *ec2;
EINA_SAFETY_ON_NULL_RETURN_VAL(c, NULL);
- for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); x >= e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x--)
+ for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); x >= e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x--)
{
E_Client *ec2;
unsigned int layer;
/* init layers */
- for (layer = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); layer <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); layer++)
+ for (layer = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); layer <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); layer++)
{
Evas_Object *o2;
ecore_x_ungrab();
}
- for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); i++)
+ for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); i++)
ecore_x_window_free(c->layers[i].win);
ecore_x_composite_unredirect_subwindows
e_grabinput_focus(c->ee_win, E_FOCUS_METHOD_PASSIVE);
/* init layers */
- for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); i++)
+ for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); i++)
{
char buf[64];
E_Client *ec;