summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-05-03 16:00:18 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-05-03 16:45:33 -0300
commit4b9a80a0630e89f6eca2ee9430092038af87ac6f (patch)
tree64162ef1e97ecc66280dfc557e5eb6ba5000429d /src/lib/ecore_evas/ecore_evas.c
parentf09e493bc2bb9fed67b2d6e2faa4f19142394191 (diff)
ecore/evas events: Use evas_event_input_mouse_move to report events.
Ecore_Evas_Input should use this function to report mouse move events. The previous used function should be used to refeed events, or to artificially feed mouse move events to the canvas. Basically every other feed_mouse_move use case that is not an event from the input system.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 6e434512c2..03cc00efdc 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2591,13 +2591,13 @@ _ecore_evas_mouse_move_process(Ecore_Evas *ee, int x, int y, unsigned int timest
2591 ee->w + fh - x - fy - 1 - ee->prop.cursor.hot.y); 2591 ee->w + fh - x - fy - 1 - ee->prop.cursor.hot.y);
2592 } 2592 }
2593 if (ee->rotation == 0) 2593 if (ee->rotation == 0)
2594 evas_event_feed_mouse_move(ee->evas, x, y, timestamp, NULL); 2594 evas_event_input_mouse_move(ee->evas, x, y, timestamp, NULL);
2595 else if (ee->rotation == 90) 2595 else if (ee->rotation == 90)
2596 evas_event_feed_mouse_move(ee->evas, ee->h + fw - y - 1, x, timestamp, NULL); 2596 evas_event_input_mouse_move(ee->evas, ee->h + fw - y - 1, x, timestamp, NULL);
2597 else if (ee->rotation == 180) 2597 else if (ee->rotation == 180)
2598 evas_event_feed_mouse_move(ee->evas, ee->w + fw - x - 1, ee->h + fh - y - 1, timestamp, NULL); 2598 evas_event_input_mouse_move(ee->evas, ee->w + fw - x - 1, ee->h + fh - y - 1, timestamp, NULL);
2599 else if (ee->rotation == 270) 2599 else if (ee->rotation == 270)
2600 evas_event_feed_mouse_move(ee->evas, y, ee->w + fh - x - 1, timestamp, NULL); 2600 evas_event_input_mouse_move(ee->evas, y, ee->w + fh - x - 1, timestamp, NULL);
2601} 2601}
2602 2602
2603EAPI void 2603EAPI void