forked from enlightenment/enlightenment
adjust layering of pointer and init splash
prevents cursor from getting stuck above screensaver fade
This commit is contained in:
parent
697e1beda3
commit
e92519f171
|
@ -66,7 +66,7 @@ e_init_show(void)
|
|||
evas_object_clip_set(o, zone->bg_clip_object);
|
||||
evas_object_move(o, zone->x, zone->y);
|
||||
evas_object_resize(o, zone->w, zone->h);
|
||||
evas_object_layer_set(o, E_LAYER_MAX);
|
||||
evas_object_layer_set(o, E_LAYER_MAX - 1000);
|
||||
evas_object_show(o);
|
||||
splash_objs = eina_list_append(splash_objs, o);
|
||||
}
|
||||
|
|
|
@ -774,7 +774,7 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
|
|||
{
|
||||
if (o == obj)
|
||||
{
|
||||
ecore_evas_object_cursor_set(ptr->ee, obj, EVAS_LAYER_MAX, x, y);
|
||||
ecore_evas_object_cursor_set(ptr->ee, obj, E_LAYER_MAX - 1, x, y);
|
||||
return;
|
||||
}
|
||||
ec = e_comp_object_client_get(o);
|
||||
|
@ -788,10 +788,10 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
|
|||
ec = e_comp_object_client_get(obj);
|
||||
if (ec)
|
||||
ec->hidden = 1;
|
||||
ecore_evas_object_cursor_set(ptr->ee, obj, EVAS_LAYER_MAX, x, y);
|
||||
ecore_evas_object_cursor_set(ptr->ee, obj, E_LAYER_MAX - 1, x, y);
|
||||
}
|
||||
else
|
||||
ecore_evas_object_cursor_set(ptr->ee, ptr->o_ptr, EVAS_LAYER_MAX, ptr->hot.x, ptr->hot.y);
|
||||
ecore_evas_object_cursor_set(ptr->ee, ptr->o_ptr, E_LAYER_MAX - 1, ptr->hot.x, ptr->hot.y);
|
||||
}
|
||||
|
||||
E_API void
|
||||
|
|
Loading…
Reference in New Issue