Fix typos in comments

This commit is contained in:
Martin Michlmayr 2020-05-16 13:20:13 +08:00 committed by Simon Ser
parent 6f0a0bd385
commit 06fc42359b
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ struct sway_container *container_find_child(struct sway_container *container,
bool (*test)(struct sway_container *view, void *data), void *data); 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 * surface-local coordinates of the given layout coordinates if the container
* is a view and the view contains a surface at those coordinates. * is a view and the view contains a surface at those coordinates.
*/ */

View File

@ -587,7 +587,7 @@ static void handle_set_hints(struct wl_listener *listener, void *data) {
return; return;
} }
if (!xsurface->hints_urgency && view->urgent_timer) { 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 // unset urgency so that the view remains urgent until the timer clears
// it. // it.
return; return;