commit 71686ed0e7319e8a188f5a584dc06b57c97e3f8f
parent c18cd9dd0369452a8b09ac2290d4a0a5b29d6ded
Author: Cole Mickens <cole.mickens@gmail.com>
Date: Sat, 3 Nov 2018 15:09:21 -0700
fix: restore refresh to the modes_array
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
@@ -136,6 +136,8 @@ static void ipc_json_describe_output(struct sway_output *output,
json_object_new_int(mode->width));
json_object_object_add(mode_object, "height",
json_object_new_int(mode->height));
+ json_object_object_add(mode_object, "refresh",
+ json_object_new_int(mode->refresh));
json_object_array_add(modes_array, mode_object);
}