projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc7444
)
e_pixmap: Create uuid when being used as a wl surface
author
Stefan Schmidt
<s.schmidt@samsung.com>
Fri, 20 Mar 2015 10:35:35 +0000
(11:35 +0100)
committer
Stefan Schmidt
<stefan@osg.samsung.com>
Mon, 29 Jun 2015 15:02:20 +0000
(17:02 +0200)
src/bin/e_pixmap.c
patch
|
blob
|
history
diff --git
a/src/bin/e_pixmap.c
b/src/bin/e_pixmap.c
index 1635b469433e46a5940b317500fc0e6071d36ce6..1ee17aca305590e4b3fad4c7c5c32a9f70fc9b9d 100644
(file)
--- 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;