Add max_render_time to output JSON

This commit is contained in:
Ivan Molodetskikh 2019-09-25 17:55:30 +03:00 committed by Simon Ser
parent bd9a53f1a3
commit fe84ec2f24
2 changed files with 8 additions and 2 deletions

View file

@ -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) {