diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-10-06 10:21:51 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-12-03 12:02:40 -0500 |
commit | 44b2153a4229aaf28fde83f04e1d07eafeeafe1e (patch) | |
tree | e4f092550d6bc8be2975206d8e57373c3cc62388 /src/lib/ecore_wl2/ecore_wl2_subsurf.c | |
parent | 25505626ad221cbf7acd07a6771c2bd7efa98a39 (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.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 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 | |||
112 | EAPI void | ||
113 | ecore_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 | } | ||