mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
ipc: set "type" of floating containers to "floating_con"
This commit is contained in:
parent
176832fe30
commit
2cda0b1fe1
1 changed files with 2 additions and 1 deletions
|
@ -273,7 +273,8 @@ static void ipc_json_describe_view(struct sway_container *c, json_object *object
|
||||||
static void ipc_json_describe_container(struct sway_container *c, json_object *object) {
|
static void ipc_json_describe_container(struct sway_container *c, json_object *object) {
|
||||||
json_object_object_add(object, "name",
|
json_object_object_add(object, "name",
|
||||||
c->title ? json_object_new_string(c->title) : NULL);
|
c->title ? json_object_new_string(c->title) : NULL);
|
||||||
json_object_object_add(object, "type", json_object_new_string("con"));
|
json_object_object_add(object, "type",
|
||||||
|
json_object_new_string(container_is_floating(c) ? "floating_con" : "con"));
|
||||||
|
|
||||||
json_object_object_add(object, "layout",
|
json_object_object_add(object, "layout",
|
||||||
json_object_new_string(ipc_json_layout_description(c->layout)));
|
json_object_new_string(ipc_json_layout_description(c->layout)));
|
||||||
|
|
Loading…
Reference in a new issue