aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-04 23:06:53 -0400
committerLibravatar GitHub <noreply@github.com>2018-04-04 23:06:53 -0400
commitaa35715f4bf840927e602004dc1612e3b049ed75 (patch)
tree730d7891f0ba4fa3d314797b0eff24e3c00a4321
parentMerge pull request #1733 from acrisci/fix-focus-inactive (diff)
parentadd type to container json (diff)
downloadsway-aa35715f4bf840927e602004dc1612e3b049ed75.tar.gz
sway-aa35715f4bf840927e602004dc1612e3b049ed75.tar.zst
sway-aa35715f4bf840927e602004dc1612e3b049ed75.zip
Merge pull request #1736 from acrisci/ipc-container-type
Ipc container type
-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) {