stefan pushed a commit to branch master.

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

commit 0522053dd1960647fdce541e56453a59d1238908
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Fri Mar 20 11:35:35 2015 +0100

    e_pixmap: Create uuid when being used as a wl surface
---
 src/bin/e_pixmap.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 1635b46..1ee17ac 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -7,6 +7,8 @@
 # include "e_comp_x.h"
 #endif
 
+#include <uuid.h>
+
 static Eina_Hash *pixmaps[2] = {NULL};
 
 struct _E_Pixmap
@@ -36,6 +38,7 @@ struct _E_Pixmap
    struct wl_listener buffer_destroy_listener;
    void *data;
    Eina_Rectangle opaque;
+   uuid_t uuid;
 #endif
 
    Eina_Bool usable : 1;
@@ -243,6 +246,7 @@ e_pixmap_new(E_Pixmap_Type type, ...)
         cp = _e_pixmap_new(type);
         cp->win = id;
         eina_hash_add(pixmaps[type], &id, cp);
+        uuid_generate(cp->uuid);
 #endif
         break;
       default: break;

-- 


Reply via email to