From 44c2fafa4f561969c5987293863e9dfd63fc2ada Mon Sep 17 00:00:00 2001 From: Pedro CĂ´rte-Real Date: Sat, 6 Jul 2019 12:13:05 +0100 Subject: Sanity check gaps between tiled containers When the gaps become too large for the space available gracefully reduced them all the way to 0 if needed. Fixes #4294 --- sway/commands/resize.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sway/commands') diff --git a/sway/commands/resize.c b/sway/commands/resize.c index 28f2552e..4cefe60b 100644 --- a/sway/commands/resize.c +++ b/sway/commands/resize.c @@ -15,8 +15,6 @@ #define AXIS_HORIZONTAL (WLR_EDGE_LEFT | WLR_EDGE_RIGHT) #define AXIS_VERTICAL (WLR_EDGE_TOP | WLR_EDGE_BOTTOM) -static const int MIN_SANE_W = 100, MIN_SANE_H = 60; - enum resize_unit { RESIZE_UNIT_PX, RESIZE_UNIT_PPT, -- cgit v1.2.3