From abc5fbfaec5159de7e3f6043e61c00b81787a9f2 Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Wed, 4 Nov 2015 02:55:38 +0100 Subject: Learn "gaps edge_gaps ". When yes, the old behaviour of adding half the inner gap around each view is used. When no, don't add any gap when an edge of the view aligns with the workspace. The result is inner gap only between views, not against the workspace edge. The algorithm is not perfect because it means the extra space is distributed amongst edge-aligned views only, but it's simple, looks good and it works. --- include/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/config.h b/include/config.h index 56fba691..636d3ec0 100644 --- a/include/config.h +++ b/include/config.h @@ -57,6 +57,7 @@ struct sway_config { bool auto_back_and_forth; bool seamless_mouse; + bool edge_gaps; int gaps_inner; int gaps_outer; }; -- cgit v1.2.3-54-g00ecf