evas_events : last_mouse needs to be used even pdata is founded 36/190836/2 accepted/tizen/unified/20181007.224906 submit/tizen/20181006.080128
authorWooHyun Jung <wh0705.jung@samsung.com>
Sat, 6 Oct 2018 07:42:45 +0000 (16:42 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Sat, 6 Oct 2018 07:50:50 +0000 (07:50 +0000)
commit144e7d89188ca9f405d3df8db42d5e886a79ee01
tree6743a9a0e0f45db55875776670b8fda227569040
parent27e4dc24f76e663995d1387e79707d42e998954e
evas_events : last_mouse needs to be used even pdata is founded

In some cases, unexpected pdata is founded and all the logics in
evas_events are conflicted becuase of failure in pdata matching.

For example, mouse_down and mouse_up use the same ev->device, but
mouse_move uses the different one.

This only can be happened in Tizen, so just keep it as Tizen Only
Fix.

@hosang will improve this patch to keep the last_mouse not per evas
but per seat.

@tizen_fix

Change-Id: Ic80a36b4c8c1a3431f97099f397d5da6f84e7324
src/lib/evas/canvas/evas_events.c