diff options
author | Ronan Pigott <rpigott@berkeley.edu> | 2020-10-20 12:09:38 -0600 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-10-20 20:23:50 +0200 |
commit | 9e272a7986aa586a73951069aa76068e408a2c3f (patch) | |
tree | 95c408c0a630ea459fd8922db3ab86046199f507 | |
parent | transaction: make transaction collapsing smarter with > 2 views (diff) | |
download | sway-9e272a7986aa586a73951069aa76068e408a2c3f.tar.gz sway-9e272a7986aa586a73951069aa76068e408a2c3f.tar.zst sway-9e272a7986aa586a73951069aa76068e408a2c3f.zip |
tiling_resize: abandon resize if a sibling con dies
-rw-r--r-- | sway/input/seatop_resize_tiling.c | 3 |
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 | ||
112 | static const struct sway_seatop_impl seatop_impl = { | 115 | static const struct sway_seatop_impl seatop_impl = { |