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 5aec49b5..28c81942 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c | |||
@@ -631,7 +631,7 @@ static void render_container_tabbed(struct sway_output *output, | |||
631 | // Make last tab use the remaining width of the parent | 631 | // Make last tab use the remaining width of the parent |
632 | if (i == pstate->children->length - 1) { | 632 | if (i == pstate->children->length - 1) { |
633 | tab_width = | 633 | tab_width = |
634 | (pstate->swayc_width - width_gap_adjustment) - tab_width * i; | 634 | pstate->swayc_width - width_gap_adjustment - tab_width * i; |
635 | } | 635 | } |
636 | 636 | ||
637 | render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width, | 637 | render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width, |