devilhorns pushed a commit to branch master.

commit 999dd527d860fe84933105afa6a514d55a0fce6d
Author: Duna Oh <>
Date:   Thu Jan 7 08:49:36 2016 -0500

    ecore_wayland: set touch_focus window when gets pointer_enter
    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.
    Reviewers: devilhorns, raster, ManMower, zmike
    Subscribers: input.hacker, cedric, jpeg, JHyun
    Differential Revision:
 src/lib/ecore_wayland/ecore_wl_input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/ecore_wayland/ecore_wl_input.c 
index f189235..09d1d2f 100644
--- a/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/src/lib/ecore_wayland/ecore_wl_input.c
@@ -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)


Reply via email to