diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2020-05-16 13:20:13 +0800 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-21 10:52:59 +0200 |
commit | 06fc42359bf155f81b559637e468b29266104d8f (patch) | |
tree | 2800266be6bcd8f03a368ea77518128e653fbe96 | |
parent | input/pointer: only warp cursor when the confine region has changed (diff) | |
download | sway-06fc42359bf155f81b559637e468b29266104d8f.tar.gz sway-06fc42359bf155f81b559637e468b29266104d8f.tar.zst sway-06fc42359bf155f81b559637e468b29266104d8f.zip |
Fix typos in comments
-rw-r--r-- | include/sway/tree/container.h | 2 | ||||
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
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, | |||
167 | bool (*test)(struct sway_container *view, void *data), void *data); | 167 | bool (*test)(struct sway_container *view, void *data), void *data); |
168 | 168 | ||
169 | /** | 169 | /** |
170 | * Find a container at the given coordinates. Returns the the surface and | 170 | * Find a container at the given coordinates. Returns the surface and |
171 | * surface-local coordinates of the given layout coordinates if the container | 171 | * surface-local coordinates of the given layout coordinates if the container |
172 | * is a view and the view contains a surface at those coordinates. | 172 | * is a view and the view contains a surface at those coordinates. |
173 | */ | 173 | */ |
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) { | |||
587 | return; | 587 | return; |
588 | } | 588 | } |
589 | if (!xsurface->hints_urgency && view->urgent_timer) { | 589 | if (!xsurface->hints_urgency && view->urgent_timer) { |
590 | // The view is is in the timeout period. We'll ignore the request to | 590 | // The view is in the timeout period. We'll ignore the request to |
591 | // unset urgency so that the view remains urgent until the timer clears | 591 | // unset urgency so that the view remains urgent until the timer clears |
592 | // it. | 592 | // it. |
593 | return; | 593 | return; |