aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wl2/ecore_wl2_input.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-09 12:21:27 -0400
committerChris Michael <cp.michael@samsung.com>2015-12-03 12:02:40 -0500
commit6d78355cccb4fbd917cb9fb9fe81f6f13daed150 (patch)
tree4a9f6dd2a9ea64815889491ae0acb6fcc024ec0a /src/lib/ecore_wl2/ecore_wl2_input.c
parentecore-wl2: Implement ecore_animators for windows instead of using a (diff)
downloadefl-6d78355cccb4fbd917cb9fb9fe81f6f13daed150.tar.gz
ecore-wl2: Add API function to return a wl_seat from an Ecore_Wl2_Input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_input.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index 95933f9a1e..69c58c92a2 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -1343,3 +1343,11 @@ ecore_wl2_input_ungrab(Ecore_Wl2_Input *input)
_ecore_wl2_input_ungrab(input);
}
+
+EAPI struct wl_seat *
+ecore_wl2_input_seat_get(Ecore_Wl2_Input *input)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(input, NULL);
+
+ return input->wl.seat;
+}