aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKoffeinFlummi <koffeinflummi@gmail.com>2015-08-18 23:53:57 +0200
committerKoffeinFlummi <koffeinflummi@gmail.com>2015-08-18 23:53:57 +0200
commit4c688cba4e3528921656d63a09f7015cae13cd0c (patch)
treee6f0a07953c900973a48abf467979c0e325c7389 /include
parent2139001c9f61a84ed1ac581a54bb2bde68928afd (diff)
Add support for gaps option
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
-rw-r--r--include/container.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 9243bf35..c47eb683 100644
--- a/include/config.h
+++ b/include/config.h
@@ -41,6 +41,9 @@ struct sway_config {
bool active;
bool failed;
bool reloading;
+
+ int gaps_inner;
+ int gaps_outer;
};
bool load_config(void);
diff --git a/include/container.h b/include/container.h
index 186ee8b6..6d64b490 100644
--- a/include/container.h
+++ b/include/container.h
@@ -48,6 +48,8 @@ struct sway_container {
char *name;
+ int gaps;
+
list_t *children;
list_t *floating;