From db98bdd4d2faccfe7ccc61024298af1706dba2ca Mon Sep 17 00:00:00 2001 From: jlo62 Date: Mon, 18 Sep 2023 18:02:56 +0200 Subject: [PATCH] Revert "Update ipc-json.c" This reverts commit 3149f533fe28b47050e20be4636b5971a2d61a77. --- sway/ipc-json.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sway/ipc-json.c b/sway/ipc-json.c index 0abccb2c..9edd0f1a 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -1128,8 +1128,6 @@ json_object *ipc_json_describe_input(struct sway_input_device *device) { if (device->wlr_device->type == WLR_INPUT_DEVICE_POINTER) { struct input_config *ic = input_device_get_config(device); - float scroll_factor = 1.0f; - float sensitivity = 1.0f; if (ic != NULL) { if (!isnan(ic->scroll_factor) && ic->scroll_factor != FLT_MIN) { scroll_factor = ic->scroll_factor;