summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
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 /src/lib/ecore_drm
parent5c68b659bbed1a936a92a4e552fe4b219da60ce6 (diff)
ecore/drm: Fix libinput >= 0.8 check
We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1 @fix
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 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
521 ev->root.x = ev->x; 521 ev->root.x = ev->x;
522 ev->root.y = ev->y; 522 ev->root.y = ev->y;
523 523
524#ifdef LIBINPUT_HIGHER_08 524#if LIBINPUT_HIGHER_08
525 axis = LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL; 525 axis = LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL;
526 if (libinput_event_pointer_has_axis(event, axis)) 526 if (libinput_event_pointer_has_axis(event, axis))
527 ev->z = libinput_event_pointer_get_axis_value(event, axis); 527 ev->z = libinput_event_pointer_get_axis_value(event, axis);