diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index baaa82fd..e329f835 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -1022,7 +1022,7 @@ void container_add_gaps(struct sway_container *c) { | |||
1022 | 1022 | ||
1023 | struct sway_workspace *ws = c->workspace; | 1023 | struct sway_workspace *ws = c->workspace; |
1024 | 1024 | ||
1025 | c->current_gaps = ws->has_gaps ? ws->gaps_inner : config->gaps_inner; | 1025 | c->current_gaps = ws->gaps_inner; |
1026 | c->x += c->current_gaps; | 1026 | c->x += c->current_gaps; |
1027 | c->y += c->current_gaps; | 1027 | c->y += c->current_gaps; |
1028 | c->width -= 2 * c->current_gaps; | 1028 | c->width -= 2 * c->current_gaps; |