evas events: Fix repeated calls to mouse callbacks
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 31 Aug 2016 02:33:20 +0000 (11:33 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 31 Aug 2016 02:41:58 +0000 (11:41 +0900)
commitf88a4b8308a45889960eb842ff0300ce9079d755
tree11d95f8b78546241000d7b3c80535edbcd6c4d03
parent9452acd126fd1d30b27748a70e84c2b802bf9f31
evas events: Fix repeated calls to mouse callbacks

After my many input events changes, a same object callback
could be called multiple times in a row because both mouse
and multi events were sent. As such, the multi event had no
direct effect (no callback called) but it reset the object's
last event type. This allowed the mouse event callbacks to be
called again.

Note that I haven't tested multi touch yet :(

Very good catch by @bu5hm4n!

Fixes T4462
Fixes T4467
src/lib/evas/canvas/evas_callbacks.c
src/lib/evas/canvas/evas_events.c