aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-07 22:42:18 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-07 22:42:18 -0500
commit6a42643784520e87a043344640e5be9cb67439e3 (patch)
treea3696d7b4e32e7f7c254d06486da9140160f7a04 /include/sway/tree/container.h
parentAdd focus_follows_mouse always. (#3081) (diff)
downloadsway-6a42643784520e87a043344640e5be9cb67439e3.tar.gz
sway-6a42643784520e87a043344640e5be9cb67439e3.tar.zst
sway-6a42643784520e87a043344640e5be9cb67439e3.zip
gaps: remove duplicate inner gaps
Diffstat (limited to 'include/sway/tree/container.h')
-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