summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_subsurf.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-06 10:21:51 -0400
committerChris Michael <cp.michael@samsung.com>2015-12-03 12:02:40 -0500
commit44b2153a4229aaf28fde83f04e1d07eafeeafe1e (patch)
treee4f092550d6bc8be2975206d8e57373c3cc62388 /src/lib/ecore_wl2/ecore_wl2_subsurf.c
parent25505626ad221cbf7acd07a6771c2bd7efa98a39 (diff)
ecore-wl2: Add API function to place a subsurface above a surface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_subsurf.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_subsurf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_subsurf.c b/src/lib/ecore_wl2/ecore_wl2_subsurf.c
index ebc7172977..0fbd3f43f8 100644
--- a/src/lib/ecore_wl2/ecore_wl2_subsurf.c
+++ b/src/lib/ecore_wl2/ecore_wl2_subsurf.c
@@ -108,3 +108,12 @@ ecore_wl2_subsurface_position_get(Ecore_Wl2_Subsurface *subsurface, int *x, int
108 if (x) *x = subsurface->x; 108 if (x) *x = subsurface->x;
109 if (y) *y = subsurface->y; 109 if (y) *y = subsurface->y;
110} 110}
111
112EAPI void
113ecore_wl2_subsurface_place_above(Ecore_Wl2_Subsurface *subsurface, struct wl_surface *surface)
114{
115 EINA_SAFETY_ON_NULL_RETURN(subsurface);
116 EINA_SAFETY_ON_NULL_RETURN(surface);
117
118 wl_subsurface_place_above(subsurface->wl.subsurface, surface);
119}