aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-04 22:41:05 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-04 22:41:05 -0400
commit04ce09630c7d84f3215a0f877f85f9e0855244b5 (patch)
tree3729743f6eb290603edba2afab266f793716d290 /sway
parent21aedf15052df4e7f8ee72922fa0e214d690facc (diff)
add type to container json
Diffstat (limited to 'sway')
-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) {