examples/evas: use new API for key modifiers per seat

This commit is contained in:
Bruno Dilly 2016-12-06 17:06:05 -02:00
parent a86c114d10
commit ff8fb25f32
1 changed files with 3 additions and 2 deletions

View File

@ -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