aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index c30e7784..788300cc 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -1029,7 +1029,7 @@ void container_add_gaps(struct sway_container *c) {
1029 1029
1030 struct sway_workspace *ws = c->workspace; 1030 struct sway_workspace *ws = c->workspace;
1031 1031
1032 c->current_gaps = ws->has_gaps ? ws->gaps_inner : config->gaps_inner; 1032 c->current_gaps = ws->gaps_inner;
1033 c->x += c->current_gaps; 1033 c->x += c->current_gaps;
1034 c->y += c->current_gaps; 1034 c->y += c->current_gaps;
1035 c->width -= 2 * c->current_gaps; 1035 c->width -= 2 * c->current_gaps;