ecore_wayland: Always send move event when touch down event is occurred. 26/87626/2
authorJengHyun Kang <jhyuni.kang@samsung.com>
Fri, 9 Sep 2016 02:10:14 +0000 (11:10 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 19 Sep 2016 02:15:18 +0000 (19:15 -0700)
Change-Id: Ice1680c03d84762928f91afc3d0f801a61ac04a7

src/lib/ecore_wayland/ecore_wl_input.c

index ba75925..adbcb48 100644 (file)
@@ -1464,10 +1464,7 @@ _ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch EINA_UNUSED, un
    _ecore_wl_input_touch_axis_process(input, id);
 
    if (input->touch_focus != win)
-     {
-        input->touch_focus = win;
-        _ecore_wl_input_mouse_move_send(input, input->touch_focus, timestamp, id, EINA_FALSE);
-     }
+     input->touch_focus = win;
 
    if (!input->grab_count)
      {
@@ -1479,6 +1476,7 @@ _ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch EINA_UNUSED, un
         }
      }
 
+   _ecore_wl_input_mouse_move_send(input, input->touch_focus, timestamp, id, EINA_FALSE);
    _ecore_wl_input_mouse_down_send(input, input->touch_focus,
                                    id, BTN_LEFT, timestamp, EINA_FALSE);