summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index e4c8001b4a..127b945c7d 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -4778,7 +4778,7 @@ _direct_mouse_wheel_cb(Ecore_Evas *ee, const Ecore_Event_Mouse_Wheel *info)
4778 ev->timestamp = info->timestamp; 4778 ev->timestamp = info->timestamp;
4779 _pointer_position_set(ev, ee, info->x, info->y, info->x, info->y); 4779 _pointer_position_set(ev, ee, info->x, info->y, info->x, info->y);
4780 ev->wheel.z = info->z; 4780 ev->wheel.z = info->z;
4781 ev->wheel.dir = info->direction ? EFL_ORIENT_HORIZONTAL : EFL_ORIENT_VERTICAL; 4781 ev->wheel.horizontal = !!info->direction;
4782 if (info->dev) ev->device = efl_ref(info->dev); 4782 if (info->dev) ev->device = efl_ref(info->dev);
4783 else ev->device = efl_ref(evas_default_device_get(e, EFL_INPUT_DEVICE_TYPE_MOUSE)); 4783 else ev->device = efl_ref(evas_default_device_get(e, EFL_INPUT_DEVICE_TYPE_MOUSE));
4784 efl_input_pointer_finalize(evt); 4784 efl_input_pointer_finalize(evt);