Skip to content

Commit

Permalink
Add max_render_time to view JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Sep 25, 2019
1 parent 2b7a098 commit 3faf5b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sway/ipc-json.c
Expand Up @@ -418,6 +418,8 @@ static void ipc_json_describe_view(struct sway_container *c, json_object *object
struct wlr_box geometry = {0, 0, c->view->natural_width, c->view->natural_height};
json_object_object_add(object, "geometry", ipc_json_create_rect(&geometry));

json_object_object_add(object, "max_render_time", json_object_new_int(c->view->max_render_time));

#if HAVE_XWAYLAND
if (c->view->type == SWAY_VIEW_XWAYLAND) {
json_object_object_add(object, "window",
Expand Down

0 comments on commit 3faf5b1

Please sign in to comment.