summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_events.c')
-rw-r--r--src/lib/evas/canvas/evas_events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c
index e1184e1066..30d60d1004 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -1970,7 +1970,7 @@ _canvas_event_feed_mouse_wheel_internal(Eo *eo_e, Efl_Input_Pointer_Data *pe)
1970 _efl_input_value_mask(EFL_INPUT_VALUE_X) | 1970 _efl_input_value_mask(EFL_INPUT_VALUE_X) |
1971 _efl_input_value_mask(EFL_INPUT_VALUE_Y) | 1971 _efl_input_value_mask(EFL_INPUT_VALUE_Y) |
1972 _efl_input_value_mask(EFL_INPUT_VALUE_WHEEL_DELTA) | 1972 _efl_input_value_mask(EFL_INPUT_VALUE_WHEEL_DELTA) |
1973 _efl_input_value_mask(EFL_INPUT_VALUE_WHEEL_DIRECTION); 1973 _efl_input_value_mask(EFL_INPUT_VALUE_WHEEL_HORIZONTAL);
1974 1974
1975 if (e->is_frozen) return; 1975 if (e->is_frozen) return;
1976 EVAS_EVENT_FEED_SAFETY_CHECK(e); 1976 EVAS_EVENT_FEED_SAFETY_CHECK(e);
@@ -2036,7 +2036,7 @@ evas_event_feed_mouse_wheel(Eo *eo_e, int direction, int z, unsigned int timesta
2036 2036
2037 if (!ev) return; 2037 if (!ev) return;
2038 2038
2039 ev->wheel.dir = direction ? EFL_ORIENT_HORIZONTAL : EFL_ORIENT_VERTICAL; 2039 ev->wheel.horizontal = !!direction;
2040 ev->wheel.z = z; 2040 ev->wheel.z = z;
2041 ev->timestamp = timestamp; 2041 ev->timestamp = timestamp;
2042 ev->data = (void *) data; 2042 ev->data = (void *) data;