aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
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 87aef47b..be961812 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -224,6 +224,8 @@ static void ipc_json_describe_output(struct sway_output *output,
224 * ((double)output->height / parent_box.height); 224 * ((double)output->height / parent_box.height);
225 json_object_object_add(object, "percent", json_object_new_double(percent)); 225 json_object_object_add(object, "percent", json_object_new_double(percent));
226 } 226 }
227
228 json_object_object_add(object, "max_render_time", json_object_new_int(output->max_render_time));
227} 229}
228 230
229json_object *ipc_json_describe_disabled_output(struct sway_output *output) { 231json_object *ipc_json_describe_disabled_output(struct sway_output *output) {