devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=df670ae859737e3457abfe8e374edb278e6092e2
commit df670ae859737e3457abfe8e374edb278e6092e2 Author: Chris Michael <[email protected]> Date: Thu Sep 24 10:29:43 2015 -0400 ecore-wl2: Finish up touch support. Record touch motion coordinates into input->pointer. Signed-off-by: Chris Michael <[email protected]> --- src/lib/ecore_wl2/ecore_wl2_input.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c index 4a802a5..bec665d 100644 --- a/src/lib/ecore_wl2/ecore_wl2_input.c +++ b/src/lib/ecore_wl2/ecore_wl2_input.c @@ -899,6 +899,9 @@ _touch_cb_up(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial if (!input) return; if (!input->focus.touch) return; + input->timestamp = timestamp; + input->display->serial = serial; + _ecore_wl2_input_mouse_up_send(input, input->focus.touch, id, BTN_LEFT, timestamp); @@ -915,6 +918,10 @@ _touch_cb_motion(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int ti if (!input) return; if (!input->focus.touch) return; + input->timestamp = timestamp; + input->pointer.sx = wl_fixed_to_int(x); + input->pointer.sy = wl_fixed_to_int(y); + _ecore_wl2_input_mouse_move_send(input, input->focus.touch, id); } --
