aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2018-11-03 15:09:21 -0700
committerCole Mickens <cole.mickens@gmail.com>2018-11-03 15:09:34 -0700
commit71686ed0e7319e8a188f5a584dc06b57c97e3f8f (patch)
tree5b80edf1dff02077185c5b7f63230c0d6ec54435 /sway
parentc18cd9dd0369452a8b09ac2290d4a0a5b29d6ded (diff)
fix: restore refresh to the modes_array
Diffstat (limited to 'sway')
-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);
}