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
This commit is contained in:
Pedro Côrte-Real 2019-07-06 12:13:05 +01:00 committed by Brian Ashworth
parent d0233af3b3
commit 44c2fafa4f
3 changed files with 11 additions and 4 deletions

View file

@ -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;