aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree
diff options
context:
space:
mode:
authorLibravatar Pedro CĂ´rte-Real <pedro@pedrocr.net>2019-07-06 12:13:05 +0100
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-07-15 23:46:27 -0400
commit44c2fafa4f561969c5987293863e9dfd63fc2ada (patch)
tree21c00c3790b825b6cab6ebd68061a4d98fc2c256 /include/sway/tree
parentRework gaps code to be simpler and correct (diff)
downloadsway-44c2fafa4f561969c5987293863e9dfd63fc2ada.tar.gz
sway-44c2fafa4f561969c5987293863e9dfd63fc2ada.tar.zst
sway-44c2fafa4f561969c5987293863e9dfd63fc2ada.zip
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.h3
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 @@
3#include <stdbool.h> 3#include <stdbool.h>
4#include "list.h" 4#include "list.h"
5 5
6#define MIN_SANE_W 100
7#define MIN_SANE_H 60
8
6struct sway_root; 9struct sway_root;
7struct sway_output; 10struct sway_output;
8struct sway_workspace; 11struct sway_workspace;