aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-11-08 22:41:14 +1000
committerGitHub <noreply@github.com>2018-11-08 22:41:14 +1000
commitaad2f444f0bfc1cd7057bf55c9249dc36680af15 (patch)
tree843a3d538ae4176884b43f111b6330a4935496e3 /sway/config.c
parente53b4813fe7a57f189c91e45355309567fb67b31 (diff)
parent9e8aa3953098adb6175c26aebd984a32a2beccb0 (diff)
Merge pull request #3087 from RedSoxFan/side-gaps
Implement per side and per direction outer gaps
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index 64653024..0fdd1723 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -234,7 +234,10 @@ static void config_defaults(struct sway_config *config) {
config->smart_gaps = false;
config->gaps_inner = 0;
- config->gaps_outer = 0;
+ config->gaps_outer.top = 0;
+ config->gaps_outer.right = 0;
+ config->gaps_outer.bottom = 0;
+ config->gaps_outer.left = 0;
if (!(config->active_bar_modifiers = create_list())) goto cleanup;