summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2015-02-12 18:37:42 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2015-02-12 18:38:51 +0100
commitdc5a391d1c9962d3b13fbede79733d05076a4dea (patch)
tree360248dae6e6bdf9c4c84f96cf19d5b68d7d30b6
parent5c68b659bbed1a936a92a4e552fe4b219da60ce6 (diff)
downloadefl-dc5a391d1c9962d3b13fbede79733d05076a4dea.tar.gz
ecore/drm: Fix libinput >= 0.8 check
We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1 @fix
-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 483b5d3f6e..fbc595996d 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -521,7 +521,7 @@ _device_handle_axis(struct libinput_device *device, struct libinput_event_pointe
ev->root.x = ev->x;
ev->root.y = ev->y;
-#ifdef LIBINPUT_HIGHER_08
+#if LIBINPUT_HIGHER_08
axis = LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL;
if (libinput_event_pointer_has_axis(event, axis))
ev->z = libinput_event_pointer_get_axis_value(event, axis);