struct _Elm_Obj_Data
{
- Eina_Bool state;
Elm_Transit *transit;
+ Eina_Bool pass_events : 1;
};
typedef struct _Elm_Transit_Effect Elm_Transit_Effect;
Elm_Transit *transit = data;
Elm_Obj_Data *obj_data = evas_object_data_del(obj, _transit_key);
- evas_object_pass_events_set(obj, obj_data->state);
+ evas_object_pass_events_set(obj, obj_data->pass_events);
free(obj_data);
transit->objs = eina_list_remove(transit->objs, obj);
if (!transit->objs) elm_transit_del(transit);
{
Elm_Obj_Data *obj_data = evas_object_data_del(obj, _transit_key);
- evas_object_pass_events_set(obj, obj_data->state);
+ evas_object_pass_events_set(obj, obj_data->pass_events);
free(obj_data);
transit->objs = eina_list_remove(transit->objs, obj);
evas_object_event_callback_del(obj, EVAS_CALLBACK_DEL,
}
obj_data = ELM_NEW(Elm_Obj_Data);
- obj_data->state = evas_object_pass_events_get(obj);
+ obj_data->pass_events = evas_object_pass_events_get(obj);
obj_data->transit = transit;
evas_object_data_set(obj, _transit_key, obj_data);
EINA_LIST_FOREACH(transit->objs, elist, obj)
{
obj_data = evas_object_data_get(obj, _transit_key);
- evas_object_pass_events_set(obj, obj_data->state);
+ evas_object_pass_events_set(obj, obj_data->pass_events);
}
}
else