bdilly pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9941fbc044e1594d64d45e5a88bd4b1bd56d72cc

commit 9941fbc044e1594d64d45e5a88bd4b1bd56d72cc
Author: Bruno Dilly <bdi...@profusion.mobi>
Date:   Tue Dec 6 17:06:05 2016 -0200

    examples/evas: use new API for key modifiers per seat
---
 src/examples/evas/evas-multiseat-events.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/examples/evas/evas-multiseat-events.c 
b/src/examples/evas/evas-multiseat-events.c
index 986194b..69125b2 100644
--- a/src/examples/evas/evas-multiseat-events.c
+++ b/src/examples/evas/evas-multiseat-events.c
@@ -179,8 +179,9 @@ _key_down_cb(void *data EINA_UNUSED, const Efl_Event *event)
            evas_object_name_get(event->object),
            efl_input_device_name_get(seat));
 
-   // FIXME use evas_seat_key_modifier_is_set() after PR is merged
-   (void) mods;
+   if (evas_seat_key_modifier_is_set(mods, "Control", seat))
+     fprintf(stdout, "Ctrl is pressed by seat %s\n",
+             efl_input_device_name_get(seat));
 }
 
 static void

-- 


Reply via email to