diff options
-rw-r--r-- | sway/desktop/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index c4646a26..9ebbe9f3 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c | |||
@@ -599,7 +599,7 @@ static void render_container_tabbed(struct sway_output *output, | |||
599 | struct border_colors *current_colors = &config->border_colors.unfocused; | 599 | struct border_colors *current_colors = &config->border_colors.unfocused; |
600 | struct sway_container_state *pstate = &con->current; | 600 | struct sway_container_state *pstate = &con->current; |
601 | 601 | ||
602 | double width_gap_adjustment = 2 * pstate->current_gaps; | 602 | double width_gap_adjustment = 2 * pstate->current_gaps; |
603 | int tab_width = (pstate->swayc_width - width_gap_adjustment) / pstate->children->length; | 603 | int tab_width = (pstate->swayc_width - width_gap_adjustment) / pstate->children->length; |
604 | 604 | ||
605 | // Render tabs | 605 | // Render tabs |