ecore_wayland: set touch_focus window when gets pointer_enter
authorDuna Oh <duna.oh@samsung.com>
Thu, 7 Jan 2016 13:49:36 +0000 (08:49 -0500)
committerChris Michael <cpmichael@osg.samsung.com>
Thu, 7 Jan 2016 13:49:46 +0000 (08:49 -0500)
commit999dd527d860fe84933105afa6a514d55a0fce6d
tree57506db2885c6e6eb66997605e9a0f3ef1c2fe3a
parent0ff164687104c6e25834f43dfe878b29412025eb
ecore_wayland: set touch_focus window when gets pointer_enter

Summary:
When user touches the screen, ecore_wayland gets touch_motion event before touch_down event.
But touch_focus would be NULL in cb_touch_motion, so doesn't send ECORE_EVENT_MOUSE_MOVE event to client.
This fix set touch_focus when gets pointer_enter same as pointer_focus.

Test Plan:
when the application is launched for first time, user clicks on any area of the screen.
We can see the posion of touch event wrong.

@fix

Reviewers: devilhorns, raster, ManMower, zmike

Subscribers: input.hacker, cedric, jpeg, JHyun

Differential Revision: https://phab.enlightenment.org/D3545
src/lib/ecore_wayland/ecore_wl_input.c