[E_CLIENT_HOOK_TRANSFORM_CHANGE] = NULL,
[E_CLIENT_HOOK_ACTIVATE_DONE] = NULL,
[E_CLIENT_HOOK_EVAL_VISIBILITY_END] = NULL,
-#ifdef CLIENT_DEL_STACK_ISSUE
- [E_CLIENT_HOOK_FREE] = NULL,
-#endif // CLIENT_DEL_STACK_ISSUE
};
static Eina_Inlist *_e_client_intercept_hooks[] =
eina_stringshare_replace(&ec->icccm.window_role, NULL);
e_client_netwm_name_set(ec, NULL);
-#ifdef CLIENT_DEL_STACK_ISSUE
- e_client_hook_call(E_CLIENT_HOOK_FREE, ec);
-#endif // CLIENT_DEL_STACK_ISSUE
-
E_FREE_FUNC(ec->frame, evas_object_del);
E_OBJECT(ec)->references--;
{
E_Desk_Area *eda = eda_client->eda;
E_Client *ec = eda_client->ec;
-#ifdef CLIENT_DEL_STACK_ISSUE
-#else
- E_Comp_Object *cw;
-#endif // CLIENT_DEL_STACK_ISSUE
if (!e_desk_area_has_ec(eda, ec)) return;
e_util_transform_del(ec->desk_area.transform);
ec->desk_area.transform = NULL;
-#ifdef CLIENT_DEL_STACK_ISSUE
-#else
- cw = evas_object_smart_data_get(ec->frame);
- if (!cw)
- ELOGF("EDA", "No Comp Object. Fix Me~!!", ec);
-#endif // CLIENT_DEL_STACK_ISSUE
-
// wl_list remove
if (eda_client->comp_object_color_set.notify)
wl_list_remove(&eda_client->comp_object_color_set.link);
}
}
-#ifdef CLIENT_DEL_STACK_ISSUE
-static void
-_e_policy_desk_area_cb_client_free(void *data, E_Client *ec)
-{
- E_Desk_Area *eda = data;
- E_Comp_Object *cw;
-
- ELOGF("EDA", "HOOK CLIENT FREE. desk_area:%p", ec, eda);
-
- cw = evas_object_smart_data_get(ec->frame);
- if (!cw)
- ELOGF("EDA", "No Comp Object. Fix Me~!!", ec);
-}
-#endif //CLIENT_DEL_STACK_ISSUE
-
EINTERN void
e_policy_desk_area_client_add_listener_add(E_Policy_Desk_Area *pda, struct wl_listener *listener)
{
_e_policy_desk_area_cb_hook_subsurface_create,
NULL);
-#ifdef CLIENT_DEL_STACK_ISSUE
- eda->hook_client_free = e_client_hook_add(E_CLIENT_HOOK_FREE,
- _e_policy_desk_area_cb_client_free,
- eda);
-#endif // CLIENT_DEL_STACK_ISSUE
-
pda->geometry_set.notify = _e_policy_desk_area_cb_geometry_set;
e_desk_area_geometry_set_listener_add(eda, &pda->geometry_set);
pda->activate.notify = _e_policy_desk_area_cb_activate;
wl_list_remove(&pda->client_del.link);
E_FREE_FUNC(eda->hook_subsurf_create, e_comp_wl_hook_del);
-#ifdef CLIENT_DEL_STACK_ISSUE
- E_FREE_FUNC(eda->hook_client_free, e_client_hook_del);
-#endif // CLIENT_DEL_STACK_ISSUE
e_policy_container_view_tree_shutdown(e_policy_container_get(pda));