diff options
author | Ryan Dwyer <[email protected]> | 2018-11-08 22:41:14 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2018-11-08 22:41:14 +1000 |
commit | aad2f444f0bfc1cd7057bf55c9249dc36680af15 (patch) | |
tree | 843a3d538ae4176884b43f111b6330a4935496e3 /include/sway/config.h | |
parent | e53b4813fe7a57f189c91e45355309567fb67b31 (diff) | |
parent | 9e8aa3953098adb6175c26aebd984a32a2beccb0 (diff) |
Merge pull request #3087 from RedSoxFan/side-gaps
Implement per side and per direction outer gaps
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 0912bc73..cd56c3dc 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -168,6 +168,16 @@ struct output_config { }; /** + * Stores size of gaps for each side + */ +struct side_gaps { + int top; + int right; + int bottom; + int left; +}; + +/** * Stores configuration for a workspace, regardless of whether the workspace * exists. */ @@ -175,7 +185,7 @@ struct workspace_config { char *workspace; char *output; int gaps_inner; - int gaps_outer; + struct side_gaps gaps_outer; }; struct bar_config { @@ -398,7 +408,7 @@ struct sway_config { bool smart_gaps; int gaps_inner; - int gaps_outer; + struct side_gaps gaps_outer; list_t *config_chain; const char *current_config_path; |