forked from enlightenment/enlightenment
only call e_comp_wl_shutdown() for wayland compositors
This commit is contained in:
parent
665f24b030
commit
93e0ebd4e1
|
@ -1277,6 +1277,8 @@ e_comp_internal_save(void)
|
||||||
EINTERN int
|
EINTERN int
|
||||||
e_comp_shutdown(void)
|
e_comp_shutdown(void)
|
||||||
{
|
{
|
||||||
|
E_Pixmap_Type type = e_comp->comp_type;
|
||||||
|
|
||||||
E_FREE_FUNC(action_timeout, ecore_timer_del);
|
E_FREE_FUNC(action_timeout, ecore_timer_del);
|
||||||
while (e_comp->clients)
|
while (e_comp->clients)
|
||||||
e_object_del(eina_list_data_get(e_comp->clients));
|
e_object_del(eina_list_data_get(e_comp->clients));
|
||||||
|
@ -1285,7 +1287,8 @@ e_comp_shutdown(void)
|
||||||
E_FREE_LIST(actions, e_object_del);
|
E_FREE_LIST(actions, e_object_del);
|
||||||
E_FREE_LIST(hooks, e_client_hook_del);
|
E_FREE_LIST(hooks, e_client_hook_del);
|
||||||
|
|
||||||
#if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
|
#ifdef HAVE_WAYLAND
|
||||||
|
if (type == E_PIXMAP_TYPE_WL)
|
||||||
e_comp_wl_shutdown();
|
e_comp_wl_shutdown();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue