From 43bd8dc437866ce1e6ba8e276af511a9ddebe71d Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 23 Oct 2019 18:08:08 +0300 Subject: Fix tiled containers resize with mouse Fixes regression introduced in 2c1a11016ccb7646a74de51eff003c18e5aa7902 --- sway/input/seatop_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/input/seatop_default.c') 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 || -- cgit v1.2.3