aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/tree/container.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 4507655e..39df86a5 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -567,9 +567,8 @@ static struct sway_container *container_at_view(struct sway_container *swayc,
*sx = _sx;
*sy = _sy;
*surface = _surface;
- return swayc;
}
- return NULL;
+ return swayc;
}
/**