aboutsummaryrefslogtreecommitdiff
path: root/src/gaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gaps.c')
-rw-r--r--src/gaps.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gaps.c b/src/gaps.c
index cd734c8c..3babe2b3 100644
--- a/src/gaps.c
+++ b/src/gaps.c
@@ -27,7 +27,7 @@ gaps_t calculate_effective_gaps(Con *con) {
return (gaps_t){0, 0, 0, 0, 0};
gaps_t gaps = {
- .inner = (workspace->gaps.inner + config.gaps.inner) / 2,
+ .inner = (workspace->gaps.inner + config.gaps.inner),
.top = 0,
.right = 0,
.bottom = 0,
@@ -40,12 +40,6 @@ gaps_t calculate_effective_gaps(Con *con) {
gaps.left = workspace->gaps.left + config.gaps.left;
}
- /* Outer gaps are added on top of inner gaps. */
- gaps.top += 2 * gaps.inner;
- gaps.right += 2 * gaps.inner;
- gaps.bottom += 2 * gaps.inner;
- gaps.left += 2 * gaps.inner;
-
return gaps;
}