commit 6ae1004cd16096fec1e94e26eb42b5251ab46ebb
parent c06266e12d2eb14e54da665b966dd1f7618dd123
Author: russ morris <russ@infocyte.com>
Date: Tue, 10 Jul 2018 20:57:05 -0700
removed unnecessary parens
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
@@ -631,7 +631,7 @@ static void render_container_tabbed(struct sway_output *output,
// Make last tab use the remaining width of the parent
if (i == pstate->children->length - 1) {
tab_width =
- (pstate->swayc_width - width_gap_adjustment) - tab_width * i;
+ pstate->swayc_width - width_gap_adjustment - tab_width * i;
}
render_titlebar(output, damage, child, x, cstate->swayc_y, tab_width,