Eina_Bool updates_full : 1; // entire object will be updated
Eina_Bool force_move : 1;
+ Eina_Bool layer_tmp : 1; // layer chage is temporary - effect
} E_Comp_Object;
static Evas_Smart *_e_comp_smart = NULL;
{
e_iconify_provider_obj_message(cw->ec, EINA_TRUE, cw->shobj);
e_comp_object_signal_emit(cw->smart_obj, "e,action,iconify", "e");
+ cw->layer_tmp = EINA_TRUE;
+ evas_object_layer_set(cw->smart_obj, E_LAYER_CLIENT_PRIO);
}
else
e_comp_object_signal_emit(cw->smart_obj, "e,state,hidden", "e");
{
e_iconify_provider_obj_message(cw->ec, EINA_TRUE, cw->shobj);
e_comp_object_signal_emit(cw->smart_obj, "e,action,iconify", "e");
+ cw->layer_tmp = EINA_TRUE;
+ evas_object_layer_set(cw->smart_obj, E_LAYER_CLIENT_PRIO);
}
if (!cw->zoomap_disabled)
e_zoomap_child_set(cw->zoomobj, NULL);
((!strcmp(emission, "e,action,hide,done")) ||
(!strcmp(emission, "e,action,iconify,done"))))
evas_object_hide(cw->smart_obj);
+ if ((!strcmp(emission, "e,action,iconify,done")) ||
+ (!strcmp(emission, "e,action,uniconify,done")))
+ {
+ cw->layer_tmp = EINA_FALSE;
+ evas_object_layer_set(cw->smart_obj, cw->ec->layer);
+ }
}
/////////////////////////////////////////////
_e_comp_object_layers_remove(cw);
/* clamp to valid client layer */
layer = e_comp_canvas_client_layer_map_nearest(layer);
- cw->ec->layer = layer;
+ if (!cw->layer_tmp) cw->ec->layer = layer;
if (e_config->transient.layer)
{
E_Client *child;
{
e_iconify_provider_obj_message(cw->ec, EINA_TRUE, cw->shobj);
e_comp_object_signal_emit(obj, "e,action,iconify", "e");
+ cw->layer_tmp = EINA_TRUE;
+ evas_object_layer_set(cw->smart_obj, E_LAYER_CLIENT_PRIO);
}
else
e_comp_object_signal_emit(obj, "e,state,hidden", "e");
{
e_iconify_provider_obj_message(cw->ec, EINA_FALSE, cw->shobj);
e_comp_object_signal_emit(cw->smart_obj, "e,action,uniconify", "e");
+ cw->layer_tmp = EINA_TRUE;
+ evas_object_layer_set(cw->smart_obj, E_LAYER_CLIENT_PRIO);
cw->defer_hide = 0;
}
return;
{
e_iconify_provider_obj_message(cw->ec, EINA_FALSE, cw->shobj);
e_comp_object_signal_emit(cw->smart_obj, "e,action,uniconify", "e");
+ cw->layer_tmp = EINA_TRUE;
+ evas_object_layer_set(cw->smart_obj, E_LAYER_CLIENT_PRIO);
}
else
e_comp_object_signal_emit(cw->smart_obj, "e,state,visible", "e");