aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorDuna Oh <duna.oh@samsung.com>2016-01-07 08:49:36 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-01-07 08:49:46 -0500
commit999dd527d860fe84933105afa6a514d55a0fce6d (patch)
tree57506db2885c6e6eb66997605e9a0f3ef1c2fe3a /src/lib/ecore_wayland
parentEo: Rearrange class creation code a bit. (diff)
downloadefl-999dd527d860fe84933105afa6a514d55a0fce6d.tar.gz
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
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c
index f1892359ae..09d1d2f597 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)
{