From: root <root@wzw-desktop.(none)>
---
trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c
b/trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c
index 4f7760b..0b6a693 100644
--- a/trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c
@@ -836,9 +836,10 @@ _ecore_wl_input_cb_touch_down(void *data, struct wl_touch
*touch __UNUSED__, uns
* This needs to be tested with an actual touch device */
/* input->timestamp = timestamp; */
input->display->serial = serial;
- input->button = 0;
+ input->button = BTN_LEFT;
input->sx = wl_fixed_to_int(x);
input->sy = wl_fixed_to_int(y);
+ _ecore_wl_input_cb_pointer_enter(data, NULL, serial, surface, x, y);
_ecore_wl_input_mouse_down_send(input, input->pointer_focus, timestamp);
}
@@ -854,9 +855,10 @@ _ecore_wl_input_cb_touch_up(void *data, struct wl_touch
*touch __UNUSED__, unsig
/* FIXME: NB: Not sure yet if input->timestamp should be set here.
* This needs to be tested with an actual touch device */
/* input->timestamp = timestamp; */
- input->button = 0;
+ input->button = BTN_LEFT;
input->display->serial = serial;
_ecore_wl_input_mouse_up_send(input, input->pointer_focus, timestamp);
+ input->button = 0;
}
static void
--
1.7.9.5
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel