commit aa35715f4bf840927e602004dc1612e3b049ed75
parent 891e1148bee2575522312078f96eb4c41af49c6c
Author: Tony Crisci <tony@dubstepdish.com>
Date: Wed, 4 Apr 2018 23:06:53 -0400
Merge pull request #1736 from acrisci/ipc-container-type
Ipc container type
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) {