summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_surface.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-01-26 13:13:54 -0600
committerDerek Foreman <derekf@osg.samsung.com>2018-01-26 15:54:00 -0600
commitfb3928ec96e6b0497918bdc3070e8297b666fb6c (patch)
treea183b4303f0adffd9d165527469d6c9e5b10a895 /src/lib/ecore_wl2/ecore_wl2_surface.c
parent03671c9c2009e9cda7f750d28417e2c8e1f78fa8 (diff)
ecore_wl2: Add API to remove surface managers
Someone might want to do this I guess.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_surface.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_surface.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_surface.c b/src/lib/ecore_wl2/ecore_wl2_surface.c
index afc4f5cd7a..b5331c2e6e 100644
--- a/src/lib/ecore_wl2/ecore_wl2_surface.c
+++ b/src/lib/ecore_wl2/ecore_wl2_surface.c
@@ -319,6 +319,12 @@ ecore_wl2_surface_manager_add(Ecore_Wl2_Surface_Interface *intf)
319 return intf->id; 319 return intf->id;
320} 320}
321 321
322EAPI void
323ecore_wl2_surface_manager_del(Ecore_Wl2_Surface_Interface *intf)
324{
325 _smanagers = eina_list_remove(_smanagers, intf);
326}
327
322/* TEMPORARY HACK FOR TESTING */ 328/* TEMPORARY HACK FOR TESTING */
323Eina_Bool 329Eina_Bool
324ecore_wl2_surface_manager_dmabuf_add(void) 330ecore_wl2_surface_manager_dmabuf_add(void)