summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_events_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_events_legacy.c')
-rw-r--r--src/lib/evas/canvas/evas_events_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_events_legacy.c b/src/lib/evas/canvas/evas_events_legacy.c
index f87cf94c5a..37059068c7 100644
--- a/src/lib/evas/canvas/evas_events_legacy.c
+++ b/src/lib/evas/canvas/evas_events_legacy.c
@@ -246,7 +246,7 @@ efl_input_pointer_legacy_info_fill(Evas *eo_evas, Efl_Input_Key *eo_ev, Evas_Cal
246 { 246 {
247 TYPE_CHK(MOUSE_WHEEL); 247 TYPE_CHK(MOUSE_WHEEL);
248 Evas_Event_Mouse_Wheel *e = _event_alloc(ev->legacy); 248 Evas_Event_Mouse_Wheel *e = _event_alloc(ev->legacy);
249 e->direction = (ev->wheel.dir == EFL_ORIENT_HORIZONTAL) ? 1 : 0; 249 e->direction = ev->wheel.horizontal;
250 e->z = ev->wheel.z; 250 e->z = ev->wheel.z;
251 e->canvas.x = ev->cur.x; 251 e->canvas.x = ev->cur.x;
252 e->canvas.y = ev->cur.y; 252 e->canvas.y = ev->cur.y;