summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland/ecore_wl_window.c
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-12-08 00:06:38 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-12-16 22:18:08 +0100
commitd4d3f636533fd217ec00b7b66c9cc9c6c3891276 (patch)
treed5c9157fa1d8fb1396606a3ff136979b0eb69fef /src/lib/ecore_wayland/ecore_wl_window.c
parent900fd5446fa7b5b64f463085843bfc9ceac4439f (diff)
ecore_wayland: store uuid received from compositor
If we get an uuid assigned from the compositor we will store them locally to provide it later on if needed. ref T2922
Diffstat (limited to 'src/lib/ecore_wayland/ecore_wl_window.c')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index b74ab6213e..1def7ab34f 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -1093,10 +1093,17 @@ _ecore_xdg_handle_popup_done(void *data, struct xdg_popup *xdg_popup)
1093static void 1093static void
1094_ecore_session_recovery_uuid(void *data EINA_UNUSED, struct session_recovery *session_recovery, const char *uuid) 1094_ecore_session_recovery_uuid(void *data EINA_UNUSED, struct session_recovery *session_recovery, const char *uuid)
1095{ 1095{
1096 Ecore_Wl_Window *win;
1097 char uuid_string[37];
1098
1096 LOGFN(__FILE__, __LINE__, __FUNCTION__); 1099 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1097 1100
1101 if (!(win = data)) return;
1098 if (!session_recovery) return; 1102 if (!session_recovery) return;
1099 DBG("UUID event received from compositor with UUID: %s", uuid); 1103 uuid_parse(uuid, win->uuid);
1104
1105 uuid_unparse(win->uuid, uuid_string);
1106 DBG("UUID event received from compositor with UUID: %s\n", uuid_string);
1100} 1107}
1101 1108
1102static void 1109static void