summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-10 12:47:16 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-10 12:47:16 +0100
commit1995fb36919cb0ec10e0ecff24c29be5a270b44c (patch)
treeda97ff0df140f63dd9cc86c6f0424e3df068b512
parentd685152a4330edd7d3cbced74fa4321c0b704b30 (diff)
-rw-r--r--src/bin/e_comp_wl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index e570a1f22..7772cc6a0 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1475,11 +1475,14 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso
1475 /* emit surface create signal */ 1475 /* emit surface create signal */
1476 wl_signal_emit(&e_comp_wl->signals.surface.create, res); 1476 wl_signal_emit(&e_comp_wl->signals.surface.create, res);
1477 1477
1478 /* Generate a new UUID for this surface */
1479 uuid_generate(ec->uuid);
1480
1478 /* Send UUID for new pixmap back to app */ 1481 /* Send UUID for new pixmap back to app */
1479 uuid_unparse(ec->uuid, uuid); 1482 uuid_unparse(ec->uuid, uuid);
1480 printf("MOEP: Sending UUID to wayland client: %s\n", uuid); 1483 printf("MOEP: Sending UUID to wayland client: %s\n", uuid);
1481 //session_recovery_send_uuid(uuid_res, uuid); 1484 //session_recovery_send_uuid(uuid_res, uuid);
1482 session_recovery_send_uuid(uuid_res, "Comp to Client"); 1485 session_recovery_send_uuid(uuid_res, uuid);
1483} 1486}
1484 1487
1485static void 1488static void
@@ -2028,7 +2031,7 @@ _e_comp_wl_subcompositor_cb_bind(struct wl_client *client, void *data EINA_UNUSE
2028static void 2031static void
2029_e_comp_wl_sr_cb_provide_uuid(struct wl_client *client EINA_UNUSED, struct wl_resource *resource EINA_UNUSED, const char *uuid) 2032_e_comp_wl_sr_cb_provide_uuid(struct wl_client *client EINA_UNUSED, struct wl_resource *resource EINA_UNUSED, const char *uuid)
2030{ 2033{
2031 printf("Provide UUID callback called for UUID: %s\n", uuid); 2034 printf("MOEP: UUID provided by application during start (UUID: %s)\n", uuid);
2032} 2035}
2033 2036
2034static const struct session_recovery_interface _e_session_recovery_interface = 2037static const struct session_recovery_interface _e_session_recovery_interface =