From 04ce09630c7d84f3215a0f877f85f9e0855244b5 Mon Sep 17 00:00:00 2001
From: Tony Crisci <tony@dubstepdish.com>
Date: Wed, 4 Apr 2018 22:41:05 -0400
Subject: [PATCH] add type to container json

---
 sway/ipc-json.c | 1 +
 1 file changed, 1 insertion(+)

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) {