aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-08 07:06:41 -0500
committerGitHub <noreply@github.com>2018-11-08 07:06:41 -0500
commite53b4813fe7a57f189c91e45355309567fb67b31 (patch)
treea3696d7b4e32e7f7c254d06486da9140160f7a04 /include/sway
parent4a21981855a340c549db99d286590c369895da87 (diff)
parent6a42643784520e87a043344640e5be9cb67439e3 (diff)
Merge pull request #3086 from RedSoxFan/fix-dup-inner-gaps
gaps: remove duplicate inner gaps
Diffstat (limited to 'include/sway')
-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 {
bool border_right;
// The gaps currently applied to the container.
- double current_gaps;
+ struct {
+ int top;
+ int right;
+ int bottom;
+ int left;
+ } current_gaps;
struct sway_workspace *workspace; // NULL when hidden in the scratchpad
struct sway_container *parent; // NULL if container in root of workspace