aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index e22c5961..1b7b9dd0 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -395,7 +395,7 @@ struct sway_container *container_at(struct sway_workspace *workspace,
}
// Tiling (focused)
if (focus && focus->view && !is_floating) {
- if ((c = surface_at_view(focus, lx, ly, surface, sx, sy))) {
+ if ((c = view_container_at(&focus->node, lx, ly, surface, sx, sy))) {
return c;
}
}