sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 643bd8f15816d0443f3e8d2a32ef6b20547cd389
parent 1fb971fffcccc85017884dc0459a1bfb2ac39dcd
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 23 Jul 2016 10:55:18 -0400

Merge pull request #779 from thejan2009/smart-gaps-outer

Hide outer gaps too when smart_gaps is on
Diffstat:
Msway/container.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sway/container.c b/sway/container.c @@ -755,6 +755,8 @@ int swayc_gap(swayc_t *container) { // size to make the outermost gap the same size (excluding the // actual "outer gap" size which is handled independently) return base + config->gaps_inner / 2; + } else if (config->smart_gaps && container->children->length == 1) { + return 0; } else { return base; }