Fix typos in comments

This commit is contained in:
Martin Michlmayr 2020-05-16 13:20:13 +08:00
parent 9b5895be63
commit 7248e70ab0
No known key found for this signature in database
GPG key ID: 3D0787AAAF6C61DD
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;