From d39c594f30ad52871d2c4c564033d189a6f548ed Mon Sep 17 00:00:00 2001 From: Dudemanguy911 Date: Tue, 8 May 2018 10:30:00 -0500 Subject: [PATCH] fix incorrect comments --- sway/desktop/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 9ee9662d9..f1f239a84 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -462,7 +462,7 @@ static void render_container_top_tabbed_border_normal(struct sway_output *output wlr_render_rect(renderer, &box, color, output->wlr_output->transform_matrix); - // Single pixel wide vertical line tab separator on the left + // Tab separator on the left box.x = con->x + depth * tab_width; box.y = con->y + 1; box.width = con->sway_view->border_thickness; @@ -471,7 +471,7 @@ static void render_container_top_tabbed_border_normal(struct sway_output *output wlr_render_rect(renderer, &box, color, output->wlr_output->transform_matrix); - // Single pixel wide verticl line tab separator on the right + // Tab separator on the right box.x = con->x + (depth + 1) * tab_width - con->sway_view->border_thickness; box.y = con->y + 1; box.width = con->sway_view->border_thickness;