From acbf60bbb201a2bb431cd1ad55927283381e8ddc Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 17 Oct 2012 21:50:31 +0000 Subject: [PATCH] Ecore_Wayland: Update to changed direction Positive and negative have been switched so we no longer need to invert ourselves. Patch by: Rob Bradford SVN revision: 78136 --- legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c index c0e8d5cec4..0fc4e0dfb6 100644 --- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c +++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_input.c @@ -1180,12 +1180,12 @@ _ecore_wl_input_mouse_wheel_send(Ecore_Wl_Input *input, unsigned int axis, int v if (axis == WL_POINTER_AXIS_VERTICAL_SCROLL) { ev->direction = 0; - ev->z = -value; + ev->z = value; } else if (axis == WL_POINTER_AXIS_HORIZONTAL_SCROLL) { ev->direction = 1; - ev->z = -value; + ev->z = value; } if (input->grab)