diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index a5f591ce..bb6c04a6 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -186,8 +186,8 @@ void container_for_each_descendant_dfs(struct sway_container *container, | |||
186 | /** | 186 | /** |
187 | * Returns true if the given container is an ancestor of this container. | 187 | * Returns true if the given container is an ancestor of this container. |
188 | */ | 188 | */ |
189 | bool container_has_anscestor(struct sway_container *container, | 189 | bool container_has_ancestor(struct sway_container *container, |
190 | struct sway_container *anscestor); | 190 | struct sway_container *ancestor); |
191 | 191 | ||
192 | /** | 192 | /** |
193 | * Returns true if the given container is a child descendant of this container. | 193 | * Returns true if the given container is a child descendant of this container. |