aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-05 18:31:19 -0400
committerLibravatar emersion <contact@emersion.fr>2018-04-05 18:31:19 -0400
commit076bedb85eface4a6c41a0e99059c89186bdb275 (patch)
tree9390c5c41be12daa0e5443416d7868a8f59ea569 /include/sway/tree/container.h
parentAdd damage tracking for xwayland unmanaged surfaces (diff)
downloadsway-076bedb85eface4a6c41a0e99059c89186bdb275.tar.gz
sway-076bedb85eface4a6c41a0e99059c89186bdb275.tar.zst
sway-076bedb85eface4a6c41a0e99059c89186bdb275.zip
Add container_damage_whole
Diffstat (limited to 'include/sway/tree/container.h')
-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);
97 97
98const char *container_type_to_str(enum sway_container_type type); 98const char *container_type_to_str(enum sway_container_type type);
99 99
100struct sway_container *output_create( 100struct sway_container *output_create(struct sway_output *sway_output);
101 struct sway_output *sway_output);
102 101
103/** 102/**
104 * Create a new container container. A container container can be a a child of 103 * 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);
116 * Create a new workspace container. Workspaces are children of an output 115 * Create a new workspace container. Workspaces are children of an output
117 * container and are ordered alphabetically by name. 116 * container and are ordered alphabetically by name.
118 */ 117 */
119struct sway_container *workspace_create(struct sway_container *output, const char *name); 118struct sway_container *workspace_create(struct sway_container *output,
119 const char *name);
120 120
121/* 121/*
122 * Create a new view container. A view can be a child of a workspace container 122 * 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,
182 182
183void container_create_notify(struct sway_container *container); 183void container_create_notify(struct sway_container *container);
184 184
185void container_damage_whole(struct sway_container *container);
186
185#endif 187#endif