diff options
author | William McKinnon <[email protected]> | 2023-05-21 00:23:40 -0400 |
---|---|---|
committer | William McKinnon <[email protected]> | 2023-05-21 00:23:40 -0400 |
commit | 3c2e38be0356fa6feed3b28254f54efde54fe27d (patch) | |
tree | e71f168e86d4f38f9739b8724a1089687b5d7026 /sway/ipc-json.c | |
parent | 0ca4062d6deb68d99acb78a87e2d2790618e8cbb (diff) |
upstream: ipc: add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entry
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index c7e94a81..673a941a 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -964,6 +964,11 @@ static json_object *describe_libinput_device(struct libinput_device *device) { case LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE: accel_profile = "adaptive"; break; +#if HAVE_LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM + case LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM: + accel_profile = "custom"; + break; +#endif } json_object_object_add(object, "accel_profile", json_object_new_string(accel_profile)); |