aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2023-03-26 23:27:40 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2024-04-18 10:57:17 +0200
commit52acbebebc0929a5224d10e5982c5fd33f09e0e6 (patch)
treea55a495ffa19df4a13fa3d934898f5cb8fcbbb01 /meson.build
parentbuild: bump version to 1.8.1 (diff)
downloadsway-52acbebebc0929a5224d10e5982c5fd33f09e0e6.tar.gz
sway-52acbebebc0929a5224d10e5982c5fd33f09e0e6.tar.zst
sway-52acbebebc0929a5224d10e5982c5fd33f09e0e6.zip
ipc: add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entryv1.8
This was introduced in the last libinput release. Fixes the following error: ../sway/ipc-json.c:928:17: error: enumeration value 'LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM' not handled in switch [-Werror=switch] 928 | switch (libinput_device_config_accel_get_profile(device)) { | ^~~~~~
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 7185daf1..3d9901a7 100644
--- a/meson.build
+++ b/meson.build
@@ -114,6 +114,11 @@ conf_data.set10('HAVE_LIBSYSTEMD', sdbus.found() and sdbus.name() == 'libsystemd
114conf_data.set10('HAVE_LIBELOGIND', sdbus.found() and sdbus.name() == 'libelogind') 114conf_data.set10('HAVE_LIBELOGIND', sdbus.found() and sdbus.name() == 'libelogind')
115conf_data.set10('HAVE_BASU', sdbus.found() and sdbus.name() == 'basu') 115conf_data.set10('HAVE_BASU', sdbus.found() and sdbus.name() == 'basu')
116conf_data.set10('HAVE_TRAY', have_tray) 116conf_data.set10('HAVE_TRAY', have_tray)
117conf_data.set10('HAVE_LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM', cc.has_header_symbol(
118 'libinput.h',
119 'LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM',
120 dependencies: libinput,
121))
117 122
118scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-pages')) 123scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-pages'))
119if scdoc.found() 124if scdoc.found()