From 9e272a7986aa586a73951069aa76068e408a2c3f Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Tue, 20 Oct 2020 12:09:38 -0600 Subject: tiling_resize: abandon resize if a sibling con dies --- sway/input/seatop_resize_tiling.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sway/input') diff --git a/sway/input/seatop_resize_tiling.c b/sway/input/seatop_resize_tiling.c index 0dfafbd0..05be6e70 100644 --- a/sway/input/seatop_resize_tiling.c +++ b/sway/input/seatop_resize_tiling.c @@ -107,6 +107,9 @@ static void handle_unref(struct sway_seat *seat, struct sway_container *con) { if (e->con == con) { seatop_begin_default(seat); } + if (e->h_sib == con || e->v_sib == con) { + seatop_begin_default(seat); + } } static const struct sway_seatop_impl seatop_impl = { -- cgit v1.2.3-54-g00ecf