aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-05 18:31:19 -0400
committeremersion <contact@emersion.fr>2018-04-05 18:31:19 -0400
commit076bedb85eface4a6c41a0e99059c89186bdb275 (patch)
tree9390c5c41be12daa0e5443416d7868a8f59ea569 /include/sway/tree
parent1c91d0c10ffbed14cafaba79276a14f55172b7eb (diff)
downloadsway-076bedb85eface4a6c41a0e99059c89186bdb275.tar.xz
Add container_damage_whole
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/container.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 3a3a9429..7acb607b 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -97,8 +97,7 @@ struct sway_container *container_create(enum sway_container_type type);
const char *container_type_to_str(enum sway_container_type type);
-struct sway_container *output_create(
- struct sway_output *sway_output);
+struct sway_container *output_create(struct sway_output *sway_output);
/**
* Create a new container container. A container container can be a a child of
@@ -116,7 +115,8 @@ struct sway_container *output_create(struct sway_output *sway_output);
* Create a new workspace container. Workspaces are children of an output
* container and are ordered alphabetically by name.
*/
-struct sway_container *workspace_create(struct sway_container *output, const char *name);
+struct sway_container *workspace_create(struct sway_container *output,
+ const char *name);
/*
* Create a new view container. A view can be a child of a workspace container
@@ -182,4 +182,6 @@ bool container_has_child(struct sway_container *con,
void container_create_notify(struct sway_container *container);
+void container_damage_whole(struct sway_container *container);
+
#endif