aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl_wl/Efl_Wl.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:43:15 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:43:13 -0400
commit2d1e5da35dcbe0c913ec19170dd59fa9f2f378cc (patch)
treede27b9540f89ab35761319dcbc20e6d519dbf028 /src/lib/efl_wl/Efl_Wl.h
parentefl-wl: add EFL_WL_DEBUG env variable for enabling wayland debug (diff)
downloadefl-2d1e5da35dcbe0c913ec19170dd59fa9f2f378cc.tar.gz
efl-wl: add functionality for extracting surfaces for external use
@feature
Diffstat (limited to 'src/lib/efl_wl/Efl_Wl.h')
-rw-r--r--src/lib/efl_wl/Efl_Wl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/efl_wl/Efl_Wl.h b/src/lib/efl_wl/Efl_Wl.h
index 818cc39cd4..d4385d2a59 100644
--- a/src/lib/efl_wl/Efl_Wl.h
+++ b/src/lib/efl_wl/Efl_Wl.h
@@ -131,6 +131,18 @@ EAPI void efl_wl_minmax_set(Evas_Object *obj, Eina_Bool set);
* @since 1.21
*/
EAPI void *efl_wl_global_add(Evas_Object *obj, const void *interface, uint32_t version, void *data, void *bind_cb);
+
+/**
+ * Extract a child surface from the compositor
+ *
+ * An extracted surface can be freely manipulated by external code.
+ * @note size hints must be respected, and the extracted object must not be externally deleted
+ *
+ * @param surface The surface to extract
+ * @return True if the surface was successfully extracted
+ * @since 1.21
+ */
+EAPI Eina_Bool efl_wl_surface_extract(Evas_Object *surface);
#endif
#endif