aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/libinput/meson.build b/backend/libinput/meson.build
index 38ba05f1..2f3ccab3 100644
--- a/backend/libinput/meson.build
+++ b/backend/libinput/meson.build
@@ -28,8 +28,8 @@ wlr_files += files(
features += { 'libinput-backend': true }
wlr_deps += libinput
-# libinput hold gestures are available since 1.19.0
-add_project_arguments(
+# libinput hold gestures and high resolution scroll are available since 1.19.0
+add_project_arguments([
'-DLIBINPUT_HAS_HOLD_GESTURES=@0@'.format(libinput.version().version_compare('>=1.19.0').to_int()),
- language: 'c',
-)
+ '-DLIBINPUT_HAS_SCROLL_VALUE120=@0@'.format(libinput.version().version_compare('>=1.19.0').to_int()),
+], language: 'c')