aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2020-05-16 13:20:13 +0800
committerSimon Ser <contact@emersion.fr>2020-05-21 10:52:59 +0200
commit06fc42359bf155f81b559637e468b29266104d8f (patch)
tree2800266be6bcd8f03a368ea77518128e653fbe96
parent6f0a0bd3852c6d92f30d43b9a39dc743987584ac (diff)
Fix typos in comments
-rw-r--r--include/sway/tree/container.h2
-rw-r--r--sway/desktop/xwayland.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 5cf5b6b1..2c94c772 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -167,7 +167,7 @@ struct sway_container *container_find_child(struct sway_container *container,
bool (*test)(struct sway_container *view, void *data), void *data);
/**
- * Find a container at the given coordinates. Returns the the surface and
+ * Find a container at the given coordinates. Returns the surface and
* surface-local coordinates of the given layout coordinates if the container
* is a view and the view contains a surface at those coordinates.
*/
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 2554d0e4..8936c8bc 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -587,7 +587,7 @@ static void handle_set_hints(struct wl_listener *listener, void *data) {
return;
}
if (!xsurface->hints_urgency && view->urgent_timer) {
- // The view is is in the timeout period. We'll ignore the request to
+ // The view is in the timeout period. We'll ignore the request to
// unset urgency so that the view remains urgent until the timer clears
// it.
return;