discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=11311bf01cedf99fee0d381b6e7e34e209afcc50

commit 11311bf01cedf99fee0d381b6e7e34e209afcc50
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Feb 3 19:16:06 2015 -0500

    ecore-drm should probably send the expected (reversed) scroll z value
---
 src/lib/ecore_drm/ecore_drm_evdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c 
b/src/lib/ecore_drm/ecore_drm_evdev.c
index c52b25b..8d6bbed 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -523,7 +523,7 @@ _device_handle_axis(struct libinput_device *device, struct 
libinput_event_pointe
    ev->root.y = ev->y;
 
    if (axis == LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL) ev->direction = 1;
-   ev->z = -libinput_event_pointer_get_axis_value(event);
+   ev->z = libinput_event_pointer_get_axis_value(event);
 
    ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL);
 }

-- 


Reply via email to