Evas Canvas: Remove focused_objects property.
authorGuilherme Iscaro <iscaro@profusion.mobi>
Wed, 4 Jan 2017 01:49:22 +0000 (10:49 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 4 Jan 2017 06:30:21 +0000 (15:30 +0900)
commit194d6b2f9bd3d20f30c76c2f32ffe2b9002457c8
tree4a50bffb10fdf3af0cd2e838f9d56600b63a7d72
parent52849125110dd618bb84b13e336c441a8432c387
Evas Canvas: Remove focused_objects property.

Summary:
This property is not needed and it will only increase the API size.
One can simple achieve the same behaviour by simple doing:

//C code...

Eina_List *l;
Evas_Device *dev;

devices = evas_device_list(evas, NULL);

EINA_LIST_FOREACH(devices, l, dev)
{
   Evas_Object *obj;

   if (evas_device_class_get(dev) != EVAS_DEVICE_CLASS_SEAT)
      continue;
   obj = evas_canvas_seat_focus_get(dev);
   //Do something with the focused object.....
}
//More C code...

Reviewers: bdilly, barbieri, conr2d, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4547
src/lib/evas/canvas/evas_canvas.eo
src/lib/evas/canvas/evas_focus.c