diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-10-06 10:23:29 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-12-03 12:02:40 -0500 |
commit | d50af2db70e37878a505374de86a245e28c351e1 (patch) | |
tree | f4d26a34cf202ea5ecc1088075a8735987d3c786 /src/lib/ecore_wl2/ecore_wl2_subsurf.c | |
parent | 44b2153a4229aaf28fde83f04e1d07eafeeafe1e (diff) |
ecore-wl2: Add API function to place a subsurface below 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.c | 9 |
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 0fbd3f43f8..0a4a49be52 100644 --- a/src/lib/ecore_wl2/ecore_wl2_subsurf.c +++ b/src/lib/ecore_wl2/ecore_wl2_subsurf.c | |||
@@ -117,3 +117,12 @@ ecore_wl2_subsurface_place_above(Ecore_Wl2_Subsurface *subsurface, struct wl_sur | |||
117 | 117 | ||
118 | wl_subsurface_place_above(subsurface->wl.subsurface, surface); | 118 | wl_subsurface_place_above(subsurface->wl.subsurface, surface); |
119 | } | 119 | } |
120 | |||
121 | EAPI void | ||
122 | ecore_wl2_subsurface_place_below(Ecore_Wl2_Subsurface *subsurface, struct wl_surface *surface) | ||
123 | { | ||
124 | EINA_SAFETY_ON_NULL_RETURN(subsurface); | ||
125 | EINA_SAFETY_ON_NULL_RETURN(surface); | ||
126 | |||
127 | wl_subsurface_place_below(subsurface->wl.subsurface, surface); | ||
128 | } | ||