From 9bf1b7a029afe2fdb07cb2bfe35cca4ad76098f9 Mon Sep 17 00:00:00 2001 From: NokiDev Date: Tue, 25 Dec 2018 14:28:40 +0100 Subject: added fullscreen_mode to get_tree output Signed-off-by: NokiDev --- sway/ipc-json.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/ipc-json.c') 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 view_is_urgent(c->view) : container_has_urgent_child(c); json_object_object_add(object, "urgent", json_object_new_boolean(urgent)); json_object_object_add(object, "sticky", json_object_new_boolean(c->is_sticky)); + json_object_object_add(object, "fullscreen_mode", json_object_new_int(c->is_fullscreen)); struct sway_node *parent = node_get_parent(&c->node); struct wlr_box parent_box = {0, 0, 0, 0}; -- cgit v1.2.3-54-g00ecf