summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-02-03 19:16:06 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-02-03 19:18:01 -0500
commit11311bf01cedf99fee0d381b6e7e34e209afcc50 (patch)
tree8bdc9588d6f83fd73091c904cd8c270274b087c3 /src/lib/ecore_drm
parenteedd6c3159b7a1fa736cd727e808edb4bbc6b997 (diff)
ecore-drm should probably send the expected (reversed) scroll z value
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c b/src/lib/ecore_drm/ecore_drm_evdev.c
index c52b25b7d8..8d6bbedce4 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
523 ev->root.y = ev->y; 523 ev->root.y = ev->y;
524 524
525 if (axis == LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL) ev->direction = 1; 525 if (axis == LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL) ev->direction = 1;
526 ev->z = -libinput_event_pointer_get_axis_value(event); 526 ev->z = libinput_event_pointer_get_axis_value(event);
527 527
528 ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL); 528 ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL);
529} 529}