diff options
author | Pedro CĂ´rte-Real <pedro@pedrocr.net> | 2019-07-06 12:13:05 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-07-15 23:46:27 -0400 |
commit | 44c2fafa4f561969c5987293863e9dfd63fc2ada (patch) | |
tree | 21c00c3790b825b6cab6ebd68061a4d98fc2c256 /include/sway/tree | |
parent | d0233af3b39475b47be4248846536811ddca2624 (diff) |
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
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/node.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdbool.h> #include "list.h" +#define MIN_SANE_W 100 +#define MIN_SANE_H 60 + struct sway_root; struct sway_output; struct sway_workspace; |