forked from enlightenment/enlightenment
parent
1277ef9747
commit
7828db4575
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
EINTERN Eina_Hash *shell_resources;
|
EINTERN Eina_Hash *shell_resources;
|
||||||
EINTERN Eina_Hash *xdg_shell_resources;
|
EINTERN Eina_Hash *xdg_shell_resources;
|
||||||
|
EINTERN Eina_List *hooks;
|
||||||
|
|
||||||
EINTERN void
|
EINTERN void
|
||||||
e_shell_surface_destroy(struct wl_resource *resource)
|
e_shell_surface_destroy(struct wl_resource *resource)
|
||||||
|
@ -194,6 +195,6 @@ e_modapi_shutdown(E_Module *m EINA_UNUSED)
|
||||||
e_input_panel_shutdown();
|
e_input_panel_shutdown();
|
||||||
eina_hash_free(shell_resources);
|
eina_hash_free(shell_resources);
|
||||||
eina_hash_free(xdg_shell_resources);
|
eina_hash_free(xdg_shell_resources);
|
||||||
|
E_FREE_LIST(hooks, e_client_hook_del);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,8 @@ EINTERN void e_input_panel_shutdown(void);
|
||||||
|
|
||||||
EINTERN Eina_Hash *shell_resources;
|
EINTERN Eina_Hash *shell_resources;
|
||||||
EINTERN Eina_Hash *xdg_shell_resources;
|
EINTERN Eina_Hash *xdg_shell_resources;
|
||||||
|
EINTERN Eina_List *hooks;
|
||||||
|
|
||||||
|
|
||||||
EINTERN void e_shell_surface_destroy(struct wl_resource *resource);
|
EINTERN void e_shell_surface_destroy(struct wl_resource *resource);
|
||||||
EINTERN void e_shell_surface_cb_destroy(struct wl_resource *resource);
|
EINTERN void e_shell_surface_cb_destroy(struct wl_resource *resource);
|
||||||
|
|
|
@ -902,6 +902,6 @@ e_xdg_shell_v5_init(void)
|
||||||
ERR("Could not create xdg_shell global");
|
ERR("Could not create xdg_shell global");
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
e_client_hook_add(E_CLIENT_HOOK_DEL, _xdg5_client_hook_del, NULL);
|
hooks = eina_list_append(hooks, e_client_hook_add(E_CLIENT_HOOK_DEL, _xdg5_client_hook_del, NULL));
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1445,6 +1445,6 @@ e_xdg_shell_v6_init(void)
|
||||||
ERR("Could not create xdg_shell global");
|
ERR("Could not create xdg_shell global");
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
e_client_hook_add(E_CLIENT_HOOK_DEL, _xdg6_client_hook_del, NULL);
|
hooks = eina_list_append(hooks, e_client_hook_add(E_CLIENT_HOOK_DEL, _xdg6_client_hook_del, NULL));
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue