evas: Re-fix post-event cb by supporting recursion
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Feb 2017 10:34:08 +0000 (19:34 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Feb 2017 10:51:06 +0000 (19:51 +0900)
commit54e5841b2f6386765dd5e2831aa3481b952e5fd4
treebe79add797e01e2313999f3911b36570166789dd
parentb184874fa5a0c3177c24a1989d24dcfb650af052
evas: Re-fix post-event cb by supporting recursion

The previous patch (b184874fa5a0c3177c) was preventing
post-event callbacks from triggering any form of input event,
including side-effects due to mouse,in. In fact by tracking
which exact events we want to post-process we can support
proper recursion. This fixes crashes in Bryce.

I'm not changing the documentation as this is still a dubious
code design.

Fixes T3144
Fixes T5157
src/lib/evas/canvas/evas_callbacks.c
src/lib/evas/canvas/evas_events.c
src/lib/evas/canvas/evas_focus.c
src/lib/evas/canvas/evas_object_inform.c
src/lib/evas/canvas/evas_object_main.c
src/lib/evas/include/evas_private.h