Commit 0168716f authored by Peter Hutterer's avatar Peter Hutterer

Whitespace fix

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent b508c54f
...@@ -1261,7 +1261,7 @@ xf86libinput_handle_axis(InputInfoPtr pInfo, struct libinput_event_pointer *even ...@@ -1261,7 +1261,7 @@ xf86libinput_handle_axis(InputInfoPtr pInfo, struct libinput_event_pointer *even
if (libinput_event_pointer_has_axis(event, axis)) { if (libinput_event_pointer_has_axis(event, axis)) {
if (source == LIBINPUT_POINTER_AXIS_SOURCE_WHEEL) { if (source == LIBINPUT_POINTER_AXIS_SOURCE_WHEEL) {
value = libinput_event_pointer_get_axis_value_discrete(event, axis); value = libinput_event_pointer_get_axis_value_discrete(event, axis);
value *= driver_data->scroll.vdist; value *= driver_data->scroll.vdist;
} else { } else {
value = libinput_event_pointer_get_axis_value(event, axis); value = libinput_event_pointer_get_axis_value(event, axis);
} }
...@@ -1275,7 +1275,7 @@ xf86libinput_handle_axis(InputInfoPtr pInfo, struct libinput_event_pointer *even ...@@ -1275,7 +1275,7 @@ xf86libinput_handle_axis(InputInfoPtr pInfo, struct libinput_event_pointer *even
if (libinput_event_pointer_has_axis(event, axis)) { if (libinput_event_pointer_has_axis(event, axis)) {
if (source == LIBINPUT_POINTER_AXIS_SOURCE_WHEEL) { if (source == LIBINPUT_POINTER_AXIS_SOURCE_WHEEL) {
value = libinput_event_pointer_get_axis_value_discrete(event, axis); value = libinput_event_pointer_get_axis_value_discrete(event, axis);
value *= driver_data->scroll.hdist; value *= driver_data->scroll.hdist;
} else { } else {
value = libinput_event_pointer_get_axis_value(event, axis); value = libinput_event_pointer_get_axis_value(event, axis);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment