summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-10-31 09:19:38 +0000
committerChris Michael <cp.michael@samsung.com>2013-10-31 11:48:59 +0000
commit927358915a76b65b6810d7df87016966006d6d99 (patch)
tree66e4226e7bc34f5b9fb03d55344e262de831f3cf /src/modules
parent489e7d565a9406ee7c7249173e8e89a9c22c2a6f (diff)
Call _ecore_evas_mouse_move_process function on mouse_in and mouse_out
events. Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 5373c62735..fd2f52ec3d 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -106,6 +106,7 @@ _ecore_evas_wl_common_cb_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED,
106 if (ee->func.fn_mouse_in) ee->func.fn_mouse_in(ee); 106 if (ee->func.fn_mouse_in) ee->func.fn_mouse_in(ee);
107 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers); 107 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers);
108 evas_event_feed_mouse_in(ee->evas, ev->timestamp, NULL); 108 evas_event_feed_mouse_in(ee->evas, ev->timestamp, NULL);
109 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
109 ee->in = EINA_TRUE; 110 ee->in = EINA_TRUE;
110 return ECORE_CALLBACK_PASS_ON; 111 return ECORE_CALLBACK_PASS_ON;
111} 112}
@@ -126,6 +127,7 @@ _ecore_evas_wl_common_cb_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED,
126 if (ee->in) 127 if (ee->in)
127 { 128 {
128 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers); 129 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers);
130 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
129 evas_event_feed_mouse_out(ee->evas, ev->timestamp, NULL); 131 evas_event_feed_mouse_out(ee->evas, ev->timestamp, NULL);
130 if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee); 132 if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee);
131 if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object); 133 if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object);