diff options
Diffstat (limited to 'src/lib/efl_wl/Efl_Wl.h')
-rw-r--r-- | src/lib/efl_wl/Efl_Wl.h | 11 |
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 62f43e0d2b..3bf4aeea20 100644 --- a/src/lib/efl_wl/Efl_Wl.h +++ b/src/lib/efl_wl/Efl_Wl.h | |||
@@ -178,6 +178,17 @@ EAPI void *efl_wl_global_add(Evas_Object *obj, const void *interface, uint32_t v | |||
178 | EAPI Eina_Bool efl_wl_surface_extract(Evas_Object *surface); | 178 | EAPI Eina_Bool efl_wl_surface_extract(Evas_Object *surface); |
179 | 179 | ||
180 | /** | 180 | /** |
181 | * Return the pid for the surface's client | ||
182 | * | ||
183 | * Get the pid of the underlying client that created the surface. | ||
184 | * | ||
185 | * @param surface The surface to extract | ||
186 | * @return The pid of the surface, or -1 on failure | ||
187 | * @since 1.24 | ||
188 | */ | ||
189 | EAPI int32_t efl_wl_surface_pid_get(Evas_Object *surface); | ||
190 | |||
191 | /** | ||
181 | * Get the Evas_Object for an extracted wl_surface resource created by an efl_wl object | 192 | * Get the Evas_Object for an extracted wl_surface resource created by an efl_wl object |
182 | * | 193 | * |
183 | * @note Passing anything other than a valid wl_surface resource from an efl_wl object will guarantee a crash. | 194 | * @note Passing anything other than a valid wl_surface resource from an efl_wl object will guarantee a crash. |