commit 04ce09630c7d84f3215a0f877f85f9e0855244b5
parent 21aedf15052df4e7f8ee72922fa0e214d690facc
Author: Tony Crisci <tony@dubstepdish.com>
Date: Wed, 4 Apr 2018 22:41:05 -0400
add type to container json
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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) {