summaryrefslogtreecommitdiffstats
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorLibravatar NokiDev <noki.dev@gmail.com>2018-12-25 14:28:40 +0100
committerLibravatar emersion <contact@emersion.fr>2018-12-25 15:24:01 +0100
commit9bf1b7a029afe2fdb07cb2bfe35cca4ad76098f9 (patch)
tree4922c9f7f8a697ad7d8342c9be99b22c5c81e74a /sway/ipc-json.c
parentSplit image_surface handling into own function (diff)
downloadsway-9bf1b7a029afe2fdb07cb2bfe35cca4ad76098f9.tar.gz
sway-9bf1b7a029afe2fdb07cb2bfe35cca4ad76098f9.tar.zst
sway-9bf1b7a029afe2fdb07cb2bfe35cca4ad76098f9.zip
added fullscreen_mode to get_tree output
Signed-off-by: NokiDev <noki.dev@gmail.com>
Diffstat (limited to 'sway/ipc-json.c')
-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 0c94fb63..96701dc2 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -421,6 +421,7 @@ static void ipc_json_describe_container(struct sway_container *c, json_object *o
421 view_is_urgent(c->view) : container_has_urgent_child(c); 421 view_is_urgent(c->view) : container_has_urgent_child(c);
422 json_object_object_add(object, "urgent", json_object_new_boolean(urgent)); 422 json_object_object_add(object, "urgent", json_object_new_boolean(urgent));
423 json_object_object_add(object, "sticky", json_object_new_boolean(c->is_sticky)); 423 json_object_object_add(object, "sticky", json_object_new_boolean(c->is_sticky));
424 json_object_object_add(object, "fullscreen_mode", json_object_new_int(c->is_fullscreen));
424 425
425 struct sway_node *parent = node_get_parent(&c->node); 426 struct sway_node *parent = node_get_parent(&c->node);
426 struct wlr_box parent_box = {0, 0, 0, 0}; 427 struct wlr_box parent_box = {0, 0, 0, 0};