aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index f906449a..47687744 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -220,7 +220,7 @@ static struct sway_container *container_at_tabbed(struct sway_node *parent,
220 } 220 }
221 221
222 // Surfaces 222 // Surfaces
223 struct sway_node *current = seat_get_active_child(seat, parent); 223 struct sway_node *current = seat_get_active_tiling_child(seat, parent);
224 return current ? tiling_container_at(current, lx, ly, surface, sx, sy) : NULL; 224 return current ? tiling_container_at(current, lx, ly, surface, sx, sy) : NULL;
225} 225}
226 226
@@ -248,7 +248,7 @@ static struct sway_container *container_at_stacked(struct sway_node *parent,
248 } 248 }
249 249
250 // Surfaces 250 // Surfaces
251 struct sway_node *current = seat_get_active_child(seat, parent); 251 struct sway_node *current = seat_get_active_tiling_child(seat, parent);
252 return current ? tiling_container_at(current, lx, ly, surface, sx, sy) : NULL; 252 return current ? tiling_container_at(current, lx, ly, surface, sx, sy) : NULL;
253} 253}
254 254