aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-04 22:41:05 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-04 22:41:05 -0400
commit04ce09630c7d84f3215a0f877f85f9e0855244b5 (patch)
tree3729743f6eb290603edba2afab266f793716d290
parentMerge pull request #1732 from emersion/view-children (diff)
downloadsway-04ce09630c7d84f3215a0f877f85f9e0855244b5.tar.gz
sway-04ce09630c7d84f3215a0f877f85f9e0855244b5.tar.zst
sway-04ce09630c7d84f3215a0f877f85f9e0855244b5.zip
add type to container json
-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,
132static void ipc_json_describe_view(struct sway_container *c, json_object *object) { 132static void ipc_json_describe_view(struct sway_container *c, json_object *object) {
133 json_object_object_add(object, "name", 133 json_object_object_add(object, "name",
134 c->name ? json_object_new_string(c->name) : NULL); 134 c->name ? json_object_new_string(c->name) : NULL);
135 json_object_object_add(object, "type", json_object_new_string("con"));
135} 136}
136 137
137json_object *ipc_json_describe_container(struct sway_container *c) { 138json_object *ipc_json_describe_container(struct sway_container *c) {