aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar Nate Symer <nate@symer.io>2018-06-09 09:34:56 -0400
committerLibravatar Nate Symer <nate@symer.io>2018-06-09 09:34:56 -0400
commit6a910b9ba5443aa31f7cc2468c943c2f9da4854b (patch)
tree24e4ea6634a734ed303c7aaf611df682adbf746c /include/sway/tree/container.h
parentMerge pull request #2123 from emersion/fix-disabled-outputs (diff)
downloadsway-6a910b9ba5443aa31f7cc2468c943c2f9da4854b.tar.gz
sway-6a910b9ba5443aa31f7cc2468c943c2f9da4854b.tar.zst
sway-6a910b9ba5443aa31f7cc2468c943c2f9da4854b.zip
Implement gaps (PR #2047)
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 7ed6aab1..b3406bbe 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -86,6 +86,13 @@ struct sway_container {
86 double saved_x, saved_y; 86 double saved_x, saved_y;
87 double saved_width, saved_height; 87 double saved_width, saved_height;
88 88
89 // The gaps currently applied to the container.
90 double current_gaps;
91
92 bool has_gaps;
93 double gaps_inner;
94 double gaps_outer;
95
89 list_t *children; 96 list_t *children;
90 97
91 struct sway_container *parent; 98 struct sway_container *parent;