Fix typos in comments

master
Martin Michlmayr 5 years ago committed by Simon Ser
parent 6f0a0bd385
commit 06fc42359b

@ -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.
*/ */

@ -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;

Loading…
Cancel
Save