aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorLibravatar Cole Mickens <cole.mickens@gmail.com>2018-11-03 15:09:21 -0700
committerLibravatar Cole Mickens <cole.mickens@gmail.com>2018-11-03 15:09:34 -0700
commit71686ed0e7319e8a188f5a584dc06b57c97e3f8f (patch)
tree5b80edf1dff02077185c5b7f63230c0d6ec54435 /sway/ipc-json.c
parentMerge pull request #3021 from Snaipe/singlekey-binding-trigger (diff)
downloadsway-71686ed0e7319e8a188f5a584dc06b57c97e3f8f.tar.gz
sway-71686ed0e7319e8a188f5a584dc06b57c97e3f8f.tar.zst
sway-71686ed0e7319e8a188f5a584dc06b57c97e3f8f.zip
fix: restore refresh to the modes_array
Diffstat (limited to 'sway/ipc-json.c')
-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,
136 json_object_new_int(mode->width)); 136 json_object_new_int(mode->width));
137 json_object_object_add(mode_object, "height", 137 json_object_object_add(mode_object, "height",
138 json_object_new_int(mode->height)); 138 json_object_new_int(mode->height));
139 json_object_object_add(mode_object, "refresh",
140 json_object_new_int(mode->refresh));
139 json_object_array_add(modes_array, mode_object); 141 json_object_array_add(modes_array, mode_object);
140 } 142 }
141 143