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
parent 3662218e19
commit 6b90d46581
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;