diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2019-01-25 08:29:21 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2019-01-25 08:29:21 +1000 |
commit | 20aa8ee67dc528299dbc8735220a1c081c7ff9f6 (patch) | |
tree | 685de48be3db51fc01510ccf051e2b63a4655fba /sway/ipc-json.c | |
parent | Update for swaywm/wlroots#1402 (diff) | |
download | sway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.tar.gz sway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.tar.zst sway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.zip |
Implement fullscreen global
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r-- | sway/ipc-json.c | 4 |
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 | |||
425 | view_is_urgent(c->view) : container_has_urgent_child(c); | 425 | view_is_urgent(c->view) : container_has_urgent_child(c); |
426 | json_object_object_add(object, "urgent", json_object_new_boolean(urgent)); | 426 | json_object_object_add(object, "urgent", json_object_new_boolean(urgent)); |
427 | json_object_object_add(object, "sticky", json_object_new_boolean(c->is_sticky)); | 427 | json_object_object_add(object, "sticky", json_object_new_boolean(c->is_sticky)); |
428 | json_object_object_add(object, "fullscreen_mode", json_object_new_int(c->is_fullscreen)); | 428 | |
429 | json_object_object_add(object, "fullscreen_mode", | ||
430 | json_object_new_int(c->fullscreen_mode)); | ||
429 | 431 | ||
430 | struct sway_node *parent = node_get_parent(&c->node); | 432 | struct sway_node *parent = node_get_parent(&c->node); |
431 | struct wlr_box parent_box = {0, 0, 0, 0}; | 433 | struct wlr_box parent_box = {0, 0, 0, 0}; |