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 /sway | |
parent | swaybar: fix typo in the loop over pixmaps (diff) | |
download | sway-43bd8dc437866ce1e6ba8e276af511a9ddebe71d.tar.gz sway-43bd8dc437866ce1e6ba8e276af511a9ddebe71d.tar.zst sway-43bd8dc437866ce1e6ba8e276af511a9ddebe71d.zip |
Fix tiled containers resize with mouse
Fixes regression introduced in 2c1a11016ccb7646a74de51eff003c18e5aa7902
Diffstat (limited to 'sway')
-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) { | |||
59 | 59 | ||
60 | static enum wlr_edges find_edge(struct sway_container *cont, | 60 | static enum wlr_edges find_edge(struct sway_container *cont, |
61 | struct wlr_surface *surface, struct sway_cursor *cursor) { | 61 | struct wlr_surface *surface, struct sway_cursor *cursor) { |
62 | if (!cont->view || cont->view->surface != surface) { | 62 | if (!cont->view || (surface && cont->view->surface != surface)) { |
63 | return WLR_EDGE_NONE; | 63 | return WLR_EDGE_NONE; |
64 | } | 64 | } |
65 | if (cont->border == B_NONE || !cont->border_thickness || | 65 | if (cont->border == B_NONE || !cont->border_thickness || |