diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-09-25 17:55:47 +0300 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-09-25 17:55:47 +0300 |
| commit | 889de2634a8b3a1eeca8dc6a32481ecc1b7a4285 (patch) | |
| tree | fa6de19a08e282dff32b7365bcadcf2502d31a28 | |
| parent | 51a418c3e795eb6e66911c0255557b49c6805448 (diff) | |
Add max_render_time to view JSON
| -rw-r--r-- | sway/ipc-json.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index be961812..b880eb65 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c @@ -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", |
