evas_events: fix wrong event listening
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 27 Jun 2019 06:13:04 +0000 (08:13 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Wed, 3 Jul 2019 01:05:30 +0000 (10:05 +0900)
commit175166ee0f04a27006ef32faea6f5a9a43e684d4
treeb026ca6874e0294d17619d37afed48cfdfc8aa2e
parent94d40ca1583a11aa4712fd52795e3611ee42b582
evas_events: fix wrong event listening

EFL_EVENT_FOCUS_IN is wrong here, EFL_EVENT_FOCUS_IN is called on object
that received object focus. Not canvas focus, however, the code in the
callback there seems to be mainly for canvas focus handling.

Additionally, in evas_events, the event handler that was listening for
the canvas focus in / out events expected a event type, which is also
not correct, because the canvas focus in / out does not have one. In
order to catch such errors later more easily, there is now a safety
check, so we really fetched the correct seat.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D9191