diff options
author | Kirill Chibisov <wchibisovkirill@gmail.com> | 2019-10-23 18:08:08 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-10-23 17:21:09 +0200 |
commit | 43bd8dc437866ce1e6ba8e276af511a9ddebe71d (patch) | |
tree | 8c4ca724dcdc00248049d08fd1d740b5e57bc20a | |
parent | 06fcebc542a919ab3ab73fad67088ec454713aaa (diff) |
Fix tiled containers resize with mouse
Fixes regression introduced in 2c1a11016ccb7646a74de51eff003c18e5aa7902
-rw-r--r-- | sway/input/seatop_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_default.c b/sway/input/seatop_default.c index 68c617e4..088ba545 100644 --- a/sway/input/seatop_default.c +++ b/sway/input/seatop_default.c @@ -59,7 +59,7 @@ static bool edge_is_external(struct sway_container *cont, enum wlr_edges edge) { static enum wlr_edges find_edge(struct sway_container *cont, struct wlr_surface *surface, struct sway_cursor *cursor) { - if (!cont->view || cont->view->surface != surface) { + if (!cont->view || (surface && cont->view->surface != surface)) { return WLR_EDGE_NONE; } if (cont->border == B_NONE || !cont->border_thickness || |