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
This commit is contained in:
parent
0ff1646871
commit
999dd527d8
|
@ -987,6 +987,7 @@ _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer EINA_UNU
|
|||
{
|
||||
win->pointer_device = input;
|
||||
input->pointer_focus = win;
|
||||
input->touch_focus = win;
|
||||
|
||||
if (win->pointer.set)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue