projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92a22d
)
ecore_wl2: add a touch device for a touch cancel event
57/168957/4
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 1 Feb 2018 10:57:29 +0000
(19:57 +0900)
committer
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 1 Feb 2018 12:20:13 +0000
(21:20 +0900)
Change-Id: I87fdaafe4b8c98c36145562cad0d605345fe6c21
src/lib/ecore_wl2/ecore_wl2_input.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wl2/ecore_wl2_input.c
b/src/lib/ecore_wl2/ecore_wl2_input.c
index
2847723
..
4b05085
100644
(file)
--- a/
src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/
src/lib/ecore_wl2/ecore_wl2_input.c
@@
-1707,7
+1707,17
@@
_touch_cb_cancel(void *data, struct wl_touch *touch EINA_UNUSED)
ev->window = input->focus.touch->id;
ev->event_window = ev->window;
- ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_CANCEL, ev, NULL, NULL);
+ ev->buttons = 1;
+
+ ev->root.x = input->pointer.sx;
+ ev->root.y = input->pointer.sy;
+ ev->x = input->pointer.sx;
+ ev->y = input->pointer.sy;
+ ev->modifiers = input->keyboard.modifiers;
+
+ ev->dev = _ecore_wl2_touch_dev_get(input, ev->window);
+
+ ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_CANCEL, ev, NULL, _input_event_mouse_button_cb_free);
//
}