aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-05-28 12:45:42 +1000
committerFurkan Sahin <furkan-dev@proton.me>2018-05-28 12:45:42 +1000
commite961f4b0b5ff5244a858783ddad2adc080a4f18f (patch)
tree27bdca654ca7336acc9018aeedbf6a46751a85c2 /include
parent446270cf9ebd49b7e956c7a1a5bf4057e4cc0ebd (diff)
Fix ancestor typos
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/container.h4
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,
/**
* Returns true if the given container is an ancestor of this container.
*/
-bool container_has_anscestor(struct sway_container *container,
- struct sway_container *anscestor);
+bool container_has_ancestor(struct sway_container *container,
+ struct sway_container *ancestor);
/**
* Returns true if the given container is a child descendant of this container.