aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 3427c8ec..54824a36 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -132,6 +132,7 @@ static void ipc_json_describe_workspace(struct sway_container *workspace,
static void ipc_json_describe_view(struct sway_container *c, json_object *object) {
json_object_object_add(object, "name",
c->name ? json_object_new_string(c->name) : NULL);
+ json_object_object_add(object, "type", json_object_new_string("con"));
}
json_object *ipc_json_describe_container(struct sway_container *c) {