forked from enlightenment/enlightenment
Add code to create the clients window hash
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
1dc1be5a7f
commit
e655abfaa4
|
@ -12,6 +12,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/* local variables */
|
||||
static Eina_Hash *clients_win_hash = NULL;
|
||||
|
||||
/* local functions */
|
||||
static void
|
||||
_e_comp_wl_log_cb_print(const char *format, va_list args)
|
||||
|
@ -515,6 +518,9 @@ e_comp_wl_init(void)
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
/* create hash to store clients */
|
||||
clients_win_hash = eina_hash_int64_new(NULL);
|
||||
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
@ -528,6 +534,9 @@ e_comp_wl_surface_create_signal_get(E_Comp *comp)
|
|||
EINTERN void
|
||||
e_comp_wl_shutdown(void)
|
||||
{
|
||||
/* free the clients win hash */
|
||||
E_FREE_FUNC(clients_win_hash, eina_hash_free);
|
||||
|
||||
/* shutdown ecore_wayland */
|
||||
ecore_wl_shutdown();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue