path: root/src/lib/ecore_input_evas
diff options
authorJean-Philippe Andre <>2016-05-12 16:48:54 +0900
committerJean-Philippe Andre <>2016-05-31 19:03:04 +0900
commit37d894abb191cfaff3f7b702792e79a617b755a1 (patch)
tree6d58dd3fcd36d1027c7cb8a478a05da99a71cc0b /src/lib/ecore_input_evas
parent8e31929aab1d7c299ff9954d1617ab3887ef807c (diff)
evas: send eo pointer events on mouse move
This is still VERY experimental and not fully done yet. All other pointer events need to be sent as well. The legacy event system is used as a transportation mechanism, as it is too hard to change the logic. This only adds an extra eo event in case of move. Obviously for performance we might want to listen to callback_add,del but that's an optimization for later. The whole point of sending those pointer events is to carry more information than can be sent over legacy evas events, and unify the events in a common format.
Diffstat (limited to 'src/lib/ecore_input_evas')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_input_evas/ecore_input_evas.c b/src/lib/ecore_input_evas/ecore_input_evas.c
index df7a851d4d..b0d86b6a12 100644
--- a/src/lib/ecore_input_evas/ecore_input_evas.c
+++ b/src/lib/ecore_input_evas/ecore_input_evas.c
@@ -599,6 +599,9 @@ ecore_event_evas_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *
599 e = event; 599 e = event;
600 lookup = _ecore_event_window_match(e->event_window); 600 lookup = _ecore_event_window_match(e->event_window);
601 if (!lookup) return ECORE_CALLBACK_PASS_ON; 601 if (!lookup) return ECORE_CALLBACK_PASS_ON;
602 if (lookup->direct &&
603 lookup->direct(lookup->window, ECORE_EVENT_MOUSE_MOVE, e))
602 if (e->multi.device == 0) 605 if (e->multi.device == 0)
603 { 606 {
604 _ecore_event_evas_push_mouse_move(e); 607 _ecore_event_evas_push_mouse_move(e);