aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 51e6a995..c7cbea01 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -935,6 +935,11 @@ static json_object *describe_libinput_device(struct libinput_device *device) {
935 case LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE: 935 case LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE:
936 accel_profile = "adaptive"; 936 accel_profile = "adaptive";
937 break; 937 break;
938#if HAVE_LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM
939 case LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM:
940 accel_profile = "custom";
941 break;
942#endif
938 } 943 }
939 json_object_object_add(object, "accel_profile", 944 json_object_object_add(object, "accel_profile",
940 json_object_new_string(accel_profile)); 945 json_object_new_string(accel_profile));