aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl_wl/Efl_Wl.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-19 12:57:28 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-25 10:44:16 -0400
commite9572a653742f0e613905e47767ae116297928d3 (patch)
treeafc9397aeae32b63728e5aa0a02172621fbb1ada /src/lib/efl_wl/Efl_Wl.h
parentefl_wl: destroy extant shell surface upon surface deletion (diff)
downloadefl-e9572a653742f0e613905e47767ae116297928d3.tar.gz
efl_wl: add function for returning the evas object for an extracted surface
@feature
Diffstat (limited to 'src/lib/efl_wl/Efl_Wl.h')
-rw-r--r--src/lib/efl_wl/Efl_Wl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/efl_wl/Efl_Wl.h b/src/lib/efl_wl/Efl_Wl.h
index d4385d2a59..cf3de2112e 100644
--- a/src/lib/efl_wl/Efl_Wl.h
+++ b/src/lib/efl_wl/Efl_Wl.h
@@ -143,6 +143,17 @@ EAPI void *efl_wl_global_add(Evas_Object *obj, const void *interface, uint32_t v
* @since 1.21
*/
EAPI Eina_Bool efl_wl_surface_extract(Evas_Object *surface);
+
+/**
+ * Get the Evas_Object for an extracted wl_surface resource created by an efl_wl object
+ *
+ * @note Passing anything other than a valid wl_surface resource from an efl_wl object will guarantee a crash.
+ *
+ * @param surface_resource The wl_resource for a wl_surface
+ * @return The Evas_Object of the surface, NULL on failure
+ * @since 1.21
+ */
+EAPI Evas_Object *efl_wl_extracted_surface_object_find(void *surface_resource);
#endif
#endif