aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-11-08 07:06:41 -0500
committerLibravatar GitHub <noreply@github.com>2018-11-08 07:06:41 -0500
commite53b4813fe7a57f189c91e45355309567fb67b31 (patch)
treea3696d7b4e32e7f7c254d06486da9140160f7a04 /include
parentAdd focus_follows_mouse always. (#3081) (diff)
parentgaps: remove duplicate inner gaps (diff)
downloadsway-e53b4813fe7a57f189c91e45355309567fb67b31.tar.gz
sway-e53b4813fe7a57f189c91e45355309567fb67b31.tar.zst
sway-e53b4813fe7a57f189c91e45355309567fb67b31.zip
Merge pull request #3086 from RedSoxFan/fix-dup-inner-gaps
gaps: remove duplicate inner gaps
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/container.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 4366a010..d3155eb3 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -104,7 +104,12 @@ struct sway_container {
104 bool border_right; 104 bool border_right;
105 105
106 // The gaps currently applied to the container. 106 // The gaps currently applied to the container.
107 double current_gaps; 107 struct {
108 int top;
109 int right;
110 int bottom;
111 int left;
112 } current_gaps;
108 113
109 struct sway_workspace *workspace; // NULL when hidden in the scratchpad 114 struct sway_workspace *workspace; // NULL when hidden in the scratchpad
110 struct sway_container *parent; // NULL if container in root of workspace 115 struct sway_container *parent; // NULL if container in root of workspace