aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-04 23:06:53 -0400
committerGitHub <noreply@github.com>2018-04-04 23:06:53 -0400
commitaa35715f4bf840927e602004dc1612e3b049ed75 (patch)
tree730d7891f0ba4fa3d314797b0eff24e3c00a4321 /sway
parent891e1148bee2575522312078f96eb4c41af49c6c (diff)
parent04ce09630c7d84f3215a0f877f85f9e0855244b5 (diff)
downloadsway-aa35715f4bf840927e602004dc1612e3b049ed75.tar.xz
Merge pull request #1736 from acrisci/ipc-container-type
Ipc container type
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) {