aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2020-10-20 12:09:38 -0600
committerSimon Ser <contact@emersion.fr>2020-10-20 20:23:50 +0200
commit9e272a7986aa586a73951069aa76068e408a2c3f (patch)
tree95c408c0a630ea459fd8922db3ab86046199f507
parentcc8d318aa1ab380166aa8183dba84a8d2a9ab2aa (diff)
tiling_resize: abandon resize if a sibling con dies
-rw-r--r--sway/input/seatop_resize_tiling.c3
1 files changed, 3 insertions, 0 deletions
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 = {