diff options
author | emersion <contact@emersion.fr> | 2018-10-06 19:45:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-06 19:45:54 +0200 |
commit | f1d8ba69a645b7b7ae1d59a0f4df9cb24c266182 (patch) | |
tree | 84f52b5e53457d8c375fb2ce308c5ac1faebf19a | |
parent | Merge pull request #2776 from swaywm/swaylock-setuid (diff) | |
parent | ipc: set "type" of floating containers to "floating_con" (diff) | |
download | sway-f1d8ba69a645b7b7ae1d59a0f4df9cb24c266182.tar.gz sway-f1d8ba69a645b7b7ae1d59a0f4df9cb24c266182.tar.zst sway-f1d8ba69a645b7b7ae1d59a0f4df9cb24c266182.zip |
Merge pull request #2779 from ianyfan/ipc
ipc: set "type" of floating containers to "floating_con"
-rw-r--r-- | sway/ipc-json.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index bc36f9b1..7c5a0a5d 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c | |||
@@ -273,7 +273,8 @@ static void ipc_json_describe_view(struct sway_container *c, json_object *object | |||
273 | static void ipc_json_describe_container(struct sway_container *c, json_object *object) { | 273 | static void ipc_json_describe_container(struct sway_container *c, json_object *object) { |
274 | json_object_object_add(object, "name", | 274 | json_object_object_add(object, "name", |
275 | c->title ? json_object_new_string(c->title) : NULL); | 275 | c->title ? json_object_new_string(c->title) : NULL); |
276 | json_object_object_add(object, "type", json_object_new_string("con")); | 276 | json_object_object_add(object, "type", |
277 | json_object_new_string(container_is_floating(c) ? "floating_con" : "con")); | ||
277 | 278 | ||
278 | json_object_object_add(object, "layout", | 279 | json_object_object_add(object, "layout", |
279 | json_object_new_string(ipc_json_layout_description(c->layout))); | 280 | json_object_new_string(ipc_json_layout_description(c->layout))); |