devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e655abfaa4e664f2a83de999f402af7b5b4392b1

commit e655abfaa4e664f2a83de999f402af7b5b4392b1
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Oct 15 06:57:16 2014 -0400

    Add code to create the clients window hash
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_comp_wl.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index f29d08e..35be654 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -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();
 }

-- 


Reply via email to