ecore-drm should probably send the expected (reversed) scroll z value

This commit is contained in:
Mike Blumenkrantz 2015-02-03 19:16:06 -05:00
parent eedd6c3159
commit 11311bf01c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}