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 --- include/sway/tree/node.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/sway/tree/node.h b/include/sway/tree/node.h index 5b8c1909..470ee3b5 100644 --- a/include/sway/tree/node.h +++ b/include/sway/tree/node.h @@ -3,6 +3,9 @@ #include #include "list.h" +#define MIN_SANE_W 100 +#define MIN_SANE_H 60 + struct sway_root; struct sway_output; struct sway_workspace; -- cgit v1.2.3-54-g00ecf