summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_device.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-14 14:32:52 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-21 20:24:33 +0100
commit2df6e1103de30fa5c3a4e2ed7ebbc0f5bd5fbf77 (patch)
treed568d6c381f3a86bb783bf427bfa8a589b9e004e /src/lib/evas/canvas/evas_device.c
parente166486107565e70431ab08bb02cceca2ed58637 (diff)
efl.canvas.scene: add 'seat_default' property
there seems to be no other way to directly return the default seat object? ref T7584 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7956
Diffstat (limited to 'src/lib/evas/canvas/evas_device.c')
-rw-r--r--src/lib/evas/canvas/evas_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_device.c b/src/lib/evas/canvas/evas_device.c
index 3f52d59..a5a28fa 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -145,6 +145,12 @@ evas_device_get(Evas *eo_e, const char *name)
145} 145}
146 146
147EOLIAN Efl_Input_Device * 147EOLIAN Efl_Input_Device *
148_evas_canvas_efl_canvas_scene_seat_default_get(Evas *eo_e EINA_UNUSED, Evas_Public_Data *e)
149{
150 return e->default_seat;
151}
152
153EOLIAN Efl_Input_Device *
148_evas_canvas_efl_canvas_scene_seat_get(Evas *eo_e EINA_UNUSED, Evas_Public_Data *e, unsigned int id) 154_evas_canvas_efl_canvas_scene_seat_get(Evas *eo_e EINA_UNUSED, Evas_Public_Data *e, unsigned int id)
149{ 155{
150 Evas_Device *dev; 156 Evas_Device *dev;