From fe84ec2f24db6d0677d6350719fcd500fcb9b572 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 25 Sep 2019 17:55:30 +0300 Subject: Add max_render_time to output JSON --- sway/ipc-json.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sway/ipc-json.c') 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, * ((double)output->height / parent_box.height); json_object_object_add(object, "percent", json_object_new_double(percent)); } + + json_object_object_add(object, "max_render_time", json_object_new_int(output->max_render_time)); } json_object *ipc_json_describe_disabled_output(struct sway_output *output) { -- cgit v1.2.3