It is deprecated.
Change-Id: I0259dc1369be426f9b73fd561207eed3053265ab
}
-E_API Eina_List *
-e_clients_immortal_list(void)
-{
- const Eina_List *l;
- Eina_List *list = NULL;
- E_Client *ec;
-
- EINA_LIST_FOREACH(e_comp->clients, l, ec)
- {
- if (ec->lock_life)
- list = eina_list_append(list, ec);
- }
- return list;
-}
-
//////////////////////////////////////////////////////////
E_API void
E_API Eina_Bool e_client_comp_grabbed_get(void);
E_API E_Client *e_client_action_get(void);
E_API E_Client *e_client_warping_get(void);
-E_API Eina_List *e_clients_immortal_list(void);
E_API void e_client_mouse_in(E_Client *ec, int x, int y);
E_API void e_client_mouse_out(E_Client *ec, int x, int y);
E_API void e_client_mouse_wheel(E_Client *ec, Evas_Point *output, E_Binding_Event_Wheel *ev);
E_API int
e_util_immortal_check(void)
{
- Eina_List *wins;
-
- wins = e_clients_immortal_list();
- if (wins)
- {
- e_util_dialog_show(_("Cannot exit - immortal windows."),
- _("Some windows are left still around with the Lifespan lock enabled. This means<br>"
- "that Enlightenment will not allow itself to exit until these windows have<br>"
- "been closed or have the lifespan lock removed.<br>"));
- /* FIXME: should really display a list of these lifespan locked */
- /* windows in a dialog and let the user disable their locks in */
- /* this dialog */
- eina_list_free(wins);
- return 1;
- }
return 0;
}