summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <[email protected]>2015-11-04 02:55:38 +0100
committerS. Christoffer Eliesen <[email protected]>2015-11-04 13:21:10 +0100
commitabc5fbfaec5159de7e3f6043e61c00b81787a9f2 (patch)
tree325b45395cd3ccda48cb7400922fda5b4731b14b /include/config.h
parent713c7d6e1eb886de374659d41ae4cab0f4bc3f34 (diff)
Learn "gaps edge_gaps <on|off|toggle>".
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.
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
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;
};