aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <rpigott@berkeley.edu>2020-10-20 12:09:38 -0600
committerLibravatar Simon Ser <contact@emersion.fr>2020-10-20 20:23:50 +0200
commit9e272a7986aa586a73951069aa76068e408a2c3f (patch)
tree95c408c0a630ea459fd8922db3ab86046199f507 /sway/input
parenttransaction: make transaction collapsing smarter with > 2 views (diff)
downloadsway-9e272a7986aa586a73951069aa76068e408a2c3f.tar.gz
sway-9e272a7986aa586a73951069aa76068e408a2c3f.tar.zst
sway-9e272a7986aa586a73951069aa76068e408a2c3f.zip
tiling_resize: abandon resize if a sibling con dies
Diffstat (limited to 'sway/input')
-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) {
107 if (e->con == con) { 107 if (e->con == con) {
108 seatop_begin_default(seat); 108 seatop_begin_default(seat);
109 } 109 }
110 if (e->h_sib == con || e->v_sib == con) {
111 seatop_begin_default(seat);
112 }
110} 113}
111 114
112static const struct sway_seatop_impl seatop_impl = { 115static const struct sway_seatop_impl seatop_impl = {