aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-27 18:06:50 -0500
committerGitHub <noreply@github.com>2019-01-27 18:06:50 -0500
commit783fadab284c79c8e13625e5e2a2eefae02c75d3 (patch)
tree795c5c69a7fcfc9336115ac157a41b943190f206 /sway/ipc-json.c
parent897250c65fb4d7123361dc6f77c2824179ed8885 (diff)
parent20aa8ee67dc528299dbc8735220a1c081c7ff9f6 (diff)
Merge pull request #3423 from RyanDwyer/fullscreen-global
Implement fullscreen global
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 778bf773..87d2c1ec 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -425,7 +425,9 @@ 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));
+
+ json_object_object_add(object, "fullscreen_mode",
+ json_object_new_int(c->fullscreen_mode));
struct sway_node *parent = node_get_parent(&c->node);
struct wlr_box parent_box = {0, 0, 0, 0};