mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Add max_render_time to output JSON
This commit is contained in:
parent
bd9a53f1a3
commit
fe84ec2f24
2 changed files with 8 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue