aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-11-03 15:09:21 -0700
committerFurkan Sahin <furkan-dev@proton.me>2018-11-03 15:09:21 -0700
commitbe6951f9c3405fb68827175a43962e5993cb4bb5 (patch)
tree5b80edf1dff02077185c5b7f63230c0d6ec54435
parent7d20b8228446684a26dde8545eeee690243c6c9d (diff)
fix: restore refresh to the modes_array
-rw-r--r--sway/ipc-json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 7cc965c8..7d4f75ed 100644
--- 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);
}